diff --git a/src/typings/checkout/additionalData3DSecure.ts b/src/typings/checkout/additionalData3DSecure.ts index d4e9ec7eb..6b1161395 100644 --- a/src/typings/checkout/additionalData3DSecure.ts +++ b/src/typings/checkout/additionalData3DSecure.ts @@ -10,7 +10,7 @@ export class AdditionalData3DSecure { /** - * Indicates if you are able to process 3D Secure 2 transactions natively on your payment page. Send this parameter when you are using `/payments` endpoint with any of our [native 3D Secure 2 solutions](https://docs.adyen.com/online-payments/3d-secure/native-3ds2). > This parameter only indicates readiness to support native 3D Secure 2 authentication. To specify if you _want_ to perform 3D Secure, use [Dynamic 3D Secure](/risk-management/dynamic-3d-secure) or send the `executeThreeD` parameter. Possible values: * **true** - Ready to support native 3D Secure 2 authentication. Setting this to true does not mean always applying 3D Secure 2. Adyen still selects the version of 3D Secure based on configuration to optimize authorisation rates and improve the shopper\'s experience. * **false** – Not ready to support native 3D Secure 2 authentication. Adyen will not offer 3D Secure 2 to your shopper regardless of your configuration. + * Indicates if you are able to process 3D Secure 2 transactions natively on your payment page. Send this parameter when you are using `/payments` endpoint with any of our [native 3D Secure 2 solutions](https://docs.adyen.com/online-payments/3d-secure/native-3ds2). > This parameter only indicates readiness to support native 3D Secure 2 authentication. To specify if you _want_ to perform 3D Secure, use [Dynamic 3D Secure](/risk-management/dynamic-3d-secure) or send the `executeThreeD` parameter. Possible values: * **true** - Ready to support native 3D Secure 2 authentication. Setting this to true does not mean always applying 3D Secure 2. Adyen selects redirect or native authentication based on your configuration to optimize authorization rates and improve the shopper\'s experience. * **false** – Not ready to support native 3D Secure 2 authentication. Adyen offers redirect 3D Secure 2 authentication instead, based on your configuration. */ 'allow3DS2'?: string; /** diff --git a/src/typings/checkout/additionalDataLodging.ts b/src/typings/checkout/additionalDataLodging.ts index 04a92c142..727e447d2 100644 --- a/src/typings/checkout/additionalDataLodging.ts +++ b/src/typings/checkout/additionalDataLodging.ts @@ -22,7 +22,7 @@ export class AdditionalDataLodging { */ 'lodging_checkOutDate'?: string; /** - * The toll-free phone number for the lodging. * Format: numeric * Max length: 17 characters. * For US and CA numbers must be 10 characters in length * Must not start with a space * Must not contain any special characters such as + or - *Must not be all zeros. + * The toll-free phone number for the lodging. * Format: numeric * Max length: 17 characters. * For US and CA numbers must be 10 characters in length * Must not start with a space * Must not contain any special characters such as + or - * Must not be all zeros. */ 'lodging_customerServiceTollFreeNumber'?: string; /** @@ -34,7 +34,7 @@ export class AdditionalDataLodging { */ 'lodging_folioCashAdvances'?: string; /** - * The card acceptor’s internal invoice or billing ID reference number. * Max length: 25 characters. * Must not start with a space *Must not be all zeros. + * The card acceptor’s internal invoice or billing ID reference number. * Max length: 25 characters * Must not start with a space * Must not contain any special characters * Must not be all zeros. */ 'lodging_folioNumber'?: string; /** @@ -50,7 +50,7 @@ export class AdditionalDataLodging { */ 'lodging_prepaidExpenses'?: string; /** - * The lodging property location\'s phone number. * Format: numeric. * Min length: 10 characters * Max length: 17 characters * For US and CA numbers must be 10 characters in length * Must not start with a space * Must not contain any special characters such as + or - *Must not be all zeros. + * The lodging property location\'s phone number. * Format: numeric * Min length: 10 characters * Max length: 17 characters * For US and CA numbers must be 10 characters in length * Must not start with a space * Must not contain any special characters such as + or - * Must not be all zeros. */ 'lodging_propertyPhoneNumber'?: string; /** diff --git a/src/typings/checkout/cardDetails.ts b/src/typings/checkout/cardDetails.ts index f6aefb803..daaa2464a 100644 --- a/src/typings/checkout/cardDetails.ts +++ b/src/typings/checkout/cardDetails.ts @@ -55,7 +55,7 @@ export class CardDetails { */ 'holderName'?: string; /** - * The network token reference. This is the [`networkTxReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_additionalData-ResponseAdditionalDataCommon-networkTxReference) from the response to the first payment. + * The transaction identifier from card schemes. This is the [`networkTxReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_additionalData-ResponseAdditionalDataCommon-networkTxReference) from the response to the first payment. */ 'networkPaymentReference'?: string; /** diff --git a/src/typings/checkout/cardDonations.ts b/src/typings/checkout/cardDonations.ts index 237ba1eee..92b139ce0 100644 --- a/src/typings/checkout/cardDonations.ts +++ b/src/typings/checkout/cardDonations.ts @@ -55,7 +55,7 @@ export class CardDonations { */ 'holderName'?: string; /** - * The network token reference. This is the [`networkTxReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_additionalData-ResponseAdditionalDataCommon-networkTxReference) from the response to the first payment. + * The transaction identifier from card schemes. This is the [`networkTxReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_additionalData-ResponseAdditionalDataCommon-networkTxReference) from the response to the first payment. */ 'networkPaymentReference'?: string; /** diff --git a/src/typings/checkout/checkoutBankTransferAction.ts b/src/typings/checkout/checkoutBankTransferAction.ts new file mode 100644 index 000000000..61831186b --- /dev/null +++ b/src/typings/checkout/checkoutBankTransferAction.ts @@ -0,0 +1,141 @@ +/* + * The version of the OpenAPI document: v71 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit this class manually. + */ + +import { Amount } from './amount'; + +export class CheckoutBankTransferAction { + /** + * The account number of the bank transfer. + */ + 'accountNumber'?: string; + /** + * The name of the account holder. + */ + 'beneficiary'?: string; + /** + * The BIC of the IBAN. + */ + 'bic'?: string; + /** + * The url to download payment details with. + */ + 'downloadUrl'?: string; + /** + * The IBAN of the bank transfer. + */ + 'iban'?: string; + /** + * Specifies the payment method. + */ + 'paymentMethodType'?: string; + /** + * The transfer reference. + */ + 'reference'?: string; + /** + * The routing number of the bank transfer. + */ + 'routingNumber'?: string; + /** + * The e-mail of the shopper, included if an e-mail was sent to the shopper. + */ + 'shopperEmail'?: string; + /** + * The sort code of the bank transfer. + */ + 'sortCode'?: string; + 'totalAmount'?: Amount; + /** + * The type of the action. + */ + 'type': CheckoutBankTransferAction.TypeEnum; + /** + * Specifies the URL to redirect to. + */ + 'url'?: string; + + static discriminator: string | undefined = undefined; + + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ + { + "name": "accountNumber", + "baseName": "accountNumber", + "type": "string" + }, + { + "name": "beneficiary", + "baseName": "beneficiary", + "type": "string" + }, + { + "name": "bic", + "baseName": "bic", + "type": "string" + }, + { + "name": "downloadUrl", + "baseName": "downloadUrl", + "type": "string" + }, + { + "name": "iban", + "baseName": "iban", + "type": "string" + }, + { + "name": "paymentMethodType", + "baseName": "paymentMethodType", + "type": "string" + }, + { + "name": "reference", + "baseName": "reference", + "type": "string" + }, + { + "name": "routingNumber", + "baseName": "routingNumber", + "type": "string" + }, + { + "name": "shopperEmail", + "baseName": "shopperEmail", + "type": "string" + }, + { + "name": "sortCode", + "baseName": "sortCode", + "type": "string" + }, + { + "name": "totalAmount", + "baseName": "totalAmount", + "type": "Amount" + }, + { + "name": "type", + "baseName": "type", + "type": "CheckoutBankTransferAction.TypeEnum" + }, + { + "name": "url", + "baseName": "url", + "type": "string" + } ]; + + static getAttributeTypeMap() { + return CheckoutBankTransferAction.attributeTypeMap; + } +} + +export namespace CheckoutBankTransferAction { + export enum TypeEnum { + BankTransfer = 'bankTransfer' + } +} diff --git a/src/typings/checkout/donationPaymentRequest.ts b/src/typings/checkout/donationPaymentRequest.ts index a8174b5fe..95adfda8c 100644 --- a/src/typings/checkout/donationPaymentRequest.ts +++ b/src/typings/checkout/donationPaymentRequest.ts @@ -120,7 +120,7 @@ export class DonationPaymentRequest { */ 'reference': string; /** - * The URL to return to in case of a redirection. The format depends on the channel. This URL can have a maximum of 1024 characters. * For web, include the protocol `http://` or `https://`. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: `https://your-company.com/checkout?shopperOrder=12xy` * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: `my-app://` * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: `my-app://your.package.name`If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. > The URL must not include personally identifiable information (PII), for example name or email address. + * The URL to return to in case of a redirection. The format depends on the channel. This URL can have a maximum of 1024 characters. * For web, include the protocol `http://` or `https://`. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: `https://your-company.com/checkout?shopperOrder=12xy` * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: `my-app://` * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: `my-app://your.package.name` If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. > The URL must not include personally identifiable information (PII), for example name or email address. */ 'returnUrl': string; /** diff --git a/src/typings/checkout/eftDetails.ts b/src/typings/checkout/eftDetails.ts new file mode 100644 index 000000000..f82fd02f7 --- /dev/null +++ b/src/typings/checkout/eftDetails.ts @@ -0,0 +1,98 @@ +/* + * The version of the OpenAPI document: v71 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit this class manually. + */ + + +export class EftDetails { + /** + * The bank account number (without separators). + */ + 'bankAccountNumber'?: string; + /** + * The financial institution code. + */ + 'bankCode'?: string; + /** + * The bank routing number of the account. + */ + 'bankLocationId'?: string; + /** + * The checkout attempt identifier. + */ + 'checkoutAttemptId'?: string; + /** + * The name of the bank account holder. If you submit a name with non-Latin characters, we automatically replace some of them with corresponding Latin characters to meet the FATF recommendations. For example: * χ12 is converted to ch12. * üA is converted to euA. * Peter Møller is converted to Peter Mller, because banks don\'t accept \'ø\'. After replacement, the ownerName must have at least three alphanumeric characters (A-Z, a-z, 0-9), and at least one of them must be a valid Latin character (A-Z, a-z). For example: * John17 - allowed. * J17 - allowed. * 171 - not allowed. * John-7 - allowed. > If provided details don\'t match the required format, the response returns the error message: 203 \'Invalid bank account holder name\'. + */ + 'ownerName'?: string; + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + */ + 'recurringDetailReference'?: string; + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + */ + 'storedPaymentMethodId'?: string; + /** + * **eft** + */ + 'type'?: EftDetails.TypeEnum; + + static discriminator: string | undefined = undefined; + + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ + { + "name": "bankAccountNumber", + "baseName": "bankAccountNumber", + "type": "string" + }, + { + "name": "bankCode", + "baseName": "bankCode", + "type": "string" + }, + { + "name": "bankLocationId", + "baseName": "bankLocationId", + "type": "string" + }, + { + "name": "checkoutAttemptId", + "baseName": "checkoutAttemptId", + "type": "string" + }, + { + "name": "ownerName", + "baseName": "ownerName", + "type": "string" + }, + { + "name": "recurringDetailReference", + "baseName": "recurringDetailReference", + "type": "string" + }, + { + "name": "storedPaymentMethodId", + "baseName": "storedPaymentMethodId", + "type": "string" + }, + { + "name": "type", + "baseName": "type", + "type": "EftDetails.TypeEnum" + } ]; + + static getAttributeTypeMap() { + return EftDetails.attributeTypeMap; + } +} + +export namespace EftDetails { + export enum TypeEnum { + EftDirectdebitCa = 'eft_directdebit_CA' + } +} diff --git a/src/typings/checkout/fundOrigin.ts b/src/typings/checkout/fundOrigin.ts index a972eb5fd..9cc19553f 100644 --- a/src/typings/checkout/fundOrigin.ts +++ b/src/typings/checkout/fundOrigin.ts @@ -13,14 +13,17 @@ import { Name } from './name'; export class FundOrigin { 'billingAddress'?: Address; /** - * Email address of the person. + * The email address of the person funding the money. */ 'shopperEmail'?: string; 'shopperName'?: Name; /** - * Phone number of the person + * The phone number of the person funding the money. */ 'telephoneNumber'?: string; + /** + * The unique identifier of the wallet where the funds are coming from. + */ 'walletIdentifier'?: string; static discriminator: string | undefined = undefined; diff --git a/src/typings/checkout/models.ts b/src/typings/checkout/models.ts index 297ee35d3..8a399ec9e 100644 --- a/src/typings/checkout/models.ts +++ b/src/typings/checkout/models.ts @@ -59,6 +59,7 @@ export * from './cardDonations'; export * from './cashAppDetails'; export * from './cellulantDetails'; export * from './checkoutAwaitAction'; +export * from './checkoutBankTransferAction'; export * from './checkoutDelegatedAuthenticationAction'; export * from './checkoutNativeRedirectAction'; export * from './checkoutOrderResponse'; @@ -90,6 +91,7 @@ export * from './donationPaymentResponse'; export * from './dotpayDetails'; export * from './dragonpayDetails'; export * from './econtextVoucherDetails'; +export * from './eftDetails'; export * from './encryptedOrderData'; export * from './externalPlatform'; export * from './forexQuote'; @@ -266,6 +268,7 @@ import { CardDonations } from './cardDonations'; import { CashAppDetails } from './cashAppDetails'; import { CellulantDetails } from './cellulantDetails'; import { CheckoutAwaitAction } from './checkoutAwaitAction'; +import { CheckoutBankTransferAction } from './checkoutBankTransferAction'; import { CheckoutDelegatedAuthenticationAction } from './checkoutDelegatedAuthenticationAction'; import { CheckoutNativeRedirectAction } from './checkoutNativeRedirectAction'; import { CheckoutOrderResponse } from './checkoutOrderResponse'; @@ -297,6 +300,7 @@ import { DonationPaymentResponse } from './donationPaymentResponse'; import { DotpayDetails } from './dotpayDetails'; import { DragonpayDetails } from './dragonpayDetails'; import { EcontextVoucherDetails } from './econtextVoucherDetails'; +import { EftDetails } from './eftDetails'; import { EncryptedOrderData } from './encryptedOrderData'; import { ExternalPlatform } from './externalPlatform'; import { ForexQuote } from './forexQuote'; @@ -475,6 +479,7 @@ let enumsMap: {[index: string]: any} = { "CashAppDetails.TypeEnum": CashAppDetails.TypeEnum, "CellulantDetails.TypeEnum": CellulantDetails.TypeEnum, "CheckoutAwaitAction.TypeEnum": CheckoutAwaitAction.TypeEnum, + "CheckoutBankTransferAction.TypeEnum": CheckoutBankTransferAction.TypeEnum, "CheckoutDelegatedAuthenticationAction.TypeEnum": CheckoutDelegatedAuthenticationAction.TypeEnum, "CheckoutNativeRedirectAction.TypeEnum": CheckoutNativeRedirectAction.TypeEnum, "CheckoutQrCodeAction.TypeEnum": CheckoutQrCodeAction.TypeEnum, @@ -509,6 +514,7 @@ let enumsMap: {[index: string]: any} = { "DotpayDetails.TypeEnum": DotpayDetails.TypeEnum, "DragonpayDetails.TypeEnum": DragonpayDetails.TypeEnum, "EcontextVoucherDetails.TypeEnum": EcontextVoucherDetails.TypeEnum, + "EftDetails.TypeEnum": EftDetails.TypeEnum, "GenericIssuerPaymentMethodDetails.TypeEnum": GenericIssuerPaymentMethodDetails.TypeEnum, "GiropayDetails.TypeEnum": GiropayDetails.TypeEnum, "GooglePayDetails.FundingSourceEnum": GooglePayDetails.FundingSourceEnum, @@ -678,6 +684,7 @@ let typeMap: {[index: string]: any} = { "CashAppDetails": CashAppDetails, "CellulantDetails": CellulantDetails, "CheckoutAwaitAction": CheckoutAwaitAction, + "CheckoutBankTransferAction": CheckoutBankTransferAction, "CheckoutDelegatedAuthenticationAction": CheckoutDelegatedAuthenticationAction, "CheckoutNativeRedirectAction": CheckoutNativeRedirectAction, "CheckoutOrderResponse": CheckoutOrderResponse, @@ -709,6 +716,7 @@ let typeMap: {[index: string]: any} = { "DotpayDetails": DotpayDetails, "DragonpayDetails": DragonpayDetails, "EcontextVoucherDetails": EcontextVoucherDetails, + "EftDetails": EftDetails, "EncryptedOrderData": EncryptedOrderData, "ExternalPlatform": ExternalPlatform, "ForexQuote": ForexQuote, diff --git a/src/typings/checkout/paymentRequest.ts b/src/typings/checkout/paymentRequest.ts index 9fab596bb..ebc99292e 100644 --- a/src/typings/checkout/paymentRequest.ts +++ b/src/typings/checkout/paymentRequest.ts @@ -31,6 +31,7 @@ import { DokuDetails } from './dokuDetails'; import { DotpayDetails } from './dotpayDetails'; import { DragonpayDetails } from './dragonpayDetails'; import { EcontextVoucherDetails } from './econtextVoucherDetails'; +import { EftDetails } from './eftDetails'; import { EncryptedOrderData } from './encryptedOrderData'; import { ForexQuote } from './forexQuote'; import { FundOrigin } from './fundOrigin'; @@ -63,6 +64,7 @@ import { SamsungPayDetails } from './samsungPayDetails'; import { SepaDirectDebitDetails } from './sepaDirectDebitDetails'; import { Split } from './split'; import { StoredPaymentMethodDetails } from './storedPaymentMethodDetails'; +import { SubMerchantInfo } from './subMerchantInfo'; import { ThreeDS2RequestFields } from './threeDS2RequestFields'; import { ThreeDSecureData } from './threeDSecureData'; import { UpiCollectDetails } from './upiCollectDetails'; @@ -190,7 +192,7 @@ export class PaymentRequest { /** * The type and required details of a payment method to use. */ - 'paymentMethod': AchDetails | AfterpayDetails | AmazonPayDetails | AncvDetails | AndroidPayDetails | ApplePayDetails | BacsDirectDebitDetails | BillDeskDetails | BlikDetails | CardDetails | CashAppDetails | CellulantDetails | DokuDetails | DotpayDetails | DragonpayDetails | EcontextVoucherDetails | GenericIssuerPaymentMethodDetails | GiropayDetails | GooglePayDetails | IdealDetails | KlarnaDetails | MasterpassDetails | MbwayDetails | MobilePayDetails | MolPayDetails | OpenInvoiceDetails | PayByBankDetails | PayPalDetails | PayToDetails | PayUUpiDetails | PayWithGoogleDetails | PaymentDetails | RatepayDetails | SamsungPayDetails | SepaDirectDebitDetails | StoredPaymentMethodDetails | UpiCollectDetails | UpiIntentDetails | VippsDetails | VisaCheckoutDetails | WeChatPayDetails | WeChatPayMiniProgramDetails | ZipDetails | null; + 'paymentMethod': AchDetails | AfterpayDetails | AmazonPayDetails | AncvDetails | AndroidPayDetails | ApplePayDetails | BacsDirectDebitDetails | BillDeskDetails | BlikDetails | CardDetails | CashAppDetails | CellulantDetails | DokuDetails | DotpayDetails | DragonpayDetails | EcontextVoucherDetails | EftDetails | GenericIssuerPaymentMethodDetails | GiropayDetails | GooglePayDetails | IdealDetails | KlarnaDetails | MasterpassDetails | MbwayDetails | MobilePayDetails | MolPayDetails | OpenInvoiceDetails | PayByBankDetails | PayPalDetails | PayToDetails | PayUUpiDetails | PayWithGoogleDetails | PaymentDetails | RatepayDetails | SamsungPayDetails | SepaDirectDebitDetails | StoredPaymentMethodDetails | UpiCollectDetails | UpiIntentDetails | VippsDetails | VisaCheckoutDetails | WeChatPayDetails | WeChatPayMiniProgramDetails | ZipDetails | null; 'platformChargebackLogic'?: PlatformChargebackLogic; /** * Date after which no further authorisations shall be performed. Only for 3D Secure 2. @@ -267,6 +269,10 @@ export class PaymentRequest { */ 'storePaymentMethod'?: boolean; /** + * This field contains additional information on the submerchant, who is onboarded to an acquirer through a payment facilitator or aggregator + */ + 'subMerchants'?: Array; + /** * The shopper\'s telephone number. */ 'telephoneNumber'?: string; @@ -491,7 +497,7 @@ export class PaymentRequest { { "name": "paymentMethod", "baseName": "paymentMethod", - "type": "AchDetails | AfterpayDetails | AmazonPayDetails | AncvDetails | AndroidPayDetails | ApplePayDetails | BacsDirectDebitDetails | BillDeskDetails | BlikDetails | CardDetails | CashAppDetails | CellulantDetails | DokuDetails | DotpayDetails | DragonpayDetails | EcontextVoucherDetails | GenericIssuerPaymentMethodDetails | GiropayDetails | GooglePayDetails | IdealDetails | KlarnaDetails | MasterpassDetails | MbwayDetails | MobilePayDetails | MolPayDetails | OpenInvoiceDetails | PayByBankDetails | PayPalDetails | PayToDetails | PayUUpiDetails | PayWithGoogleDetails | PaymentDetails | RatepayDetails | SamsungPayDetails | SepaDirectDebitDetails | StoredPaymentMethodDetails | UpiCollectDetails | UpiIntentDetails | VippsDetails | VisaCheckoutDetails | WeChatPayDetails | WeChatPayMiniProgramDetails | ZipDetails | null" + "type": "AchDetails | AfterpayDetails | AmazonPayDetails | AncvDetails | AndroidPayDetails | ApplePayDetails | BacsDirectDebitDetails | BillDeskDetails | BlikDetails | CardDetails | CashAppDetails | CellulantDetails | DokuDetails | DotpayDetails | DragonpayDetails | EcontextVoucherDetails | EftDetails | GenericIssuerPaymentMethodDetails | GiropayDetails | GooglePayDetails | IdealDetails | KlarnaDetails | MasterpassDetails | MbwayDetails | MobilePayDetails | MolPayDetails | OpenInvoiceDetails | PayByBankDetails | PayPalDetails | PayToDetails | PayUUpiDetails | PayWithGoogleDetails | PaymentDetails | RatepayDetails | SamsungPayDetails | SepaDirectDebitDetails | StoredPaymentMethodDetails | UpiCollectDetails | UpiIntentDetails | VippsDetails | VisaCheckoutDetails | WeChatPayDetails | WeChatPayMiniProgramDetails | ZipDetails | null" }, { "name": "platformChargebackLogic", @@ -598,6 +604,11 @@ export class PaymentRequest { "baseName": "storePaymentMethod", "type": "boolean" }, + { + "name": "subMerchants", + "baseName": "subMerchants", + "type": "Array" + }, { "name": "telephoneNumber", "baseName": "telephoneNumber", diff --git a/src/typings/checkout/paymentResponse.ts b/src/typings/checkout/paymentResponse.ts index d209e0a6b..956195524 100644 --- a/src/typings/checkout/paymentResponse.ts +++ b/src/typings/checkout/paymentResponse.ts @@ -9,6 +9,7 @@ import { Amount } from './amount'; import { CheckoutAwaitAction } from './checkoutAwaitAction'; +import { CheckoutBankTransferAction } from './checkoutBankTransferAction'; import { CheckoutDelegatedAuthenticationAction } from './checkoutDelegatedAuthenticationAction'; import { CheckoutNativeRedirectAction } from './checkoutNativeRedirectAction'; import { CheckoutOrderResponse } from './checkoutOrderResponse'; @@ -26,7 +27,7 @@ export class PaymentResponse { /** * Action to be taken for completing the payment. */ - 'action'?: CheckoutAwaitAction | CheckoutDelegatedAuthenticationAction | CheckoutNativeRedirectAction | CheckoutQrCodeAction | CheckoutRedirectAction | CheckoutSDKAction | CheckoutThreeDS2Action | CheckoutVoucherAction | null; + 'action'?: CheckoutAwaitAction | CheckoutBankTransferAction | CheckoutDelegatedAuthenticationAction | CheckoutNativeRedirectAction | CheckoutQrCodeAction | CheckoutRedirectAction | CheckoutSDKAction | CheckoutThreeDS2Action | CheckoutVoucherAction | null; /** * Contains additional information about the payment. Some data fields are included only if you select them first: Go to **Customer Area** > **Developers** > **Additional data**. */ @@ -72,7 +73,7 @@ export class PaymentResponse { { "name": "action", "baseName": "action", - "type": "CheckoutAwaitAction | CheckoutDelegatedAuthenticationAction | CheckoutNativeRedirectAction | CheckoutQrCodeAction | CheckoutRedirectAction | CheckoutSDKAction | CheckoutThreeDS2Action | CheckoutVoucherAction | null" + "type": "CheckoutAwaitAction | CheckoutBankTransferAction | CheckoutDelegatedAuthenticationAction | CheckoutNativeRedirectAction | CheckoutQrCodeAction | CheckoutRedirectAction | CheckoutSDKAction | CheckoutThreeDS2Action | CheckoutVoucherAction | null" }, { "name": "additionalData", diff --git a/src/typings/checkout/paymentSetupRequest.ts b/src/typings/checkout/paymentSetupRequest.ts index 913d908b3..9108f8f7f 100644 --- a/src/typings/checkout/paymentSetupRequest.ts +++ b/src/typings/checkout/paymentSetupRequest.ts @@ -139,7 +139,7 @@ export class PaymentSetupRequest { */ 'reference': string; /** - * The URL to return to in case of a redirection. The format depends on the channel. This URL can have a maximum of 1024 characters. * For web, include the protocol `http://` or `https://`. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: `https://your-company.com/checkout?shopperOrder=12xy` * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: `my-app://` * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: `my-app://your.package.name`If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. > The URL must not include personally identifiable information (PII), for example name or email address. + * The URL to return to in case of a redirection. The format depends on the channel. This URL can have a maximum of 1024 characters. * For web, include the protocol `http://` or `https://`. You can also include your own additional query parameters, for example, shopper ID or order reference number. Example: `https://your-company.com/checkout?shopperOrder=12xy` * For iOS, use the custom URL for your app. To know more about setting custom URL schemes, refer to the [Apple Developer documentation](https://developer.apple.com/documentation/uikit/inter-process_communication/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app). Example: `my-app://` * For Android, use a custom URL handled by an Activity on your app. You can configure it with an [intent filter](https://developer.android.com/guide/components/intents-filters). Example: `my-app://your.package.name` If the URL to return to includes non-ASCII characters, like spaces or special letters, URL encode the value. > The URL must not include personally identifiable information (PII), for example name or email address. */ 'returnUrl': string; 'riskData'?: RiskData; diff --git a/src/typings/checkout/subMerchantInfo.ts b/src/typings/checkout/subMerchantInfo.ts index 7a281e5f3..e60dc7339 100644 --- a/src/typings/checkout/subMerchantInfo.ts +++ b/src/typings/checkout/subMerchantInfo.ts @@ -13,13 +13,34 @@ import { BillingAddress } from './billingAddress'; export class SubMerchantInfo { 'address'?: BillingAddress; 'amount'?: Amount; + /** + * Required for transactions performed by registered payment facilitators. The email associated with the sub-merchant\'s account. + */ 'email'?: string; + /** + * Required for transactions performed by registered payment facilitators. A unique identifier that you create for the sub-merchant, used by schemes to identify the sub-merchant. * Format: Alphanumeric * Maximum length: 15 characters + */ 'id'?: string; + /** + * Required for transactions performed by registered payment facilitators. The sub-merchant\'s 4-digit Merchant Category Code (MCC). * Format: Numeric * Fixed length: 4 digits + */ 'mcc'?: string; + /** + * Required for transactions performed by registered payment facilitators. The name of the sub-merchant. Based on scheme specifications, this value will overwrite the shopper statement that will appear in the card statement. * Format: Alphanumeric * Maximum length: 22 characters + */ 'name'?: string; + /** + * Required for transactions performed by registered payment facilitators. The phone number associated with the sub-merchant\'s account. + */ 'phoneNumber'?: string; 'registeredSince'?: string; + /** + * Required for transactions performed by registered payment facilitators. The tax ID of the sub-merchant. * Format: Numeric * Fixed length: 11 digits for the CPF or 14 digits for the CNPJ + */ 'taxId'?: string; + /** + * Required for transactions performed by registered payment facilitators. The sub-merchant\'s URL on the platform, i.e. the sub-merchant\'s shop. + */ 'url'?: string; static discriminator: string | undefined = undefined; diff --git a/src/typings/legalEntityManagement/getTermsOfServiceDocumentRequest.ts b/src/typings/legalEntityManagement/getTermsOfServiceDocumentRequest.ts index c17fbf48d..4923cb80a 100644 --- a/src/typings/legalEntityManagement/getTermsOfServiceDocumentRequest.ts +++ b/src/typings/legalEntityManagement/getTermsOfServiceDocumentRequest.ts @@ -14,7 +14,7 @@ export class GetTermsOfServiceDocumentRequest { */ 'language': string; /** - * The requested format for the Terms of Service document. Default value: JSON. Possible values: JSON or PDF. + * The requested format for the Terms of Service document. Default value: JSON. Possible values: **JSON**, **PDF**, or **TXT**. */ 'termsOfServiceDocumentFormat'?: string; /** diff --git a/src/typings/legalEntityManagement/identificationData.ts b/src/typings/legalEntityManagement/identificationData.ts index 217574f02..0be7b9d47 100644 --- a/src/typings/legalEntityManagement/identificationData.ts +++ b/src/typings/legalEntityManagement/identificationData.ts @@ -34,7 +34,7 @@ export class IdentificationData { */ 'number'?: string; /** - * Type of identity data. For individuals, the following types are supported: - Australia: **driversLicense**, **passport** - Hong Kong: **driversLicense**, **nationalIdNumber**, **passport** - New Zealand: **driversLicense**, **passport** - Singapore: **driversLicense**, **nationalIdNumber**, **passport** - All other supported countries: **nationalIdNumber + * Type of identity data. For individuals, the following types are supported: - Australia: **driversLicense**, **passport** - Hong Kong: **driversLicense**, **nationalIdNumber**, **passport** - New Zealand: **driversLicense**, **passport** - Singapore: **driversLicense**, **nationalIdNumber**, **passport** - All other supported countries: **nationalIdNumber** */ 'type': IdentificationData.TypeEnum; diff --git a/src/typings/legalEntityManagement/verificationDeadline.ts b/src/typings/legalEntityManagement/verificationDeadline.ts index 77e82b487..ff54d0369 100644 --- a/src/typings/legalEntityManagement/verificationDeadline.ts +++ b/src/typings/legalEntityManagement/verificationDeadline.ts @@ -69,6 +69,7 @@ export namespace VerificationDeadline { IssueCard = 'issueCard', IssueCardCommercial = 'issueCardCommercial', IssueCardConsumer = 'issueCardConsumer', + IssueCreditLimit = 'issueCreditLimit', LocalAcceptance = 'localAcceptance', Payout = 'payout', PayoutToTransferInstrument = 'payoutToTransferInstrument', diff --git a/src/typings/legalEntityManagement/verificationError.ts b/src/typings/legalEntityManagement/verificationError.ts index 24efa4fcb..5e7f7107e 100644 --- a/src/typings/legalEntityManagement/verificationError.ts +++ b/src/typings/legalEntityManagement/verificationError.ts @@ -32,7 +32,7 @@ export class VerificationError { */ 'subErrors'?: Array; /** - * The type of error. + * The type of error. Possible values: * **invalidInput** * **dataMissing** * **pendingStatus** * **rejected** * **dataReview** */ 'type'?: VerificationError.TypeEnum; @@ -98,6 +98,7 @@ export namespace VerificationError { IssueCard = 'issueCard', IssueCardCommercial = 'issueCardCommercial', IssueCardConsumer = 'issueCardConsumer', + IssueCreditLimit = 'issueCreditLimit', LocalAcceptance = 'localAcceptance', Payout = 'payout', PayoutToTransferInstrument = 'payoutToTransferInstrument', diff --git a/src/typings/legalEntityManagement/verificationErrorRecursive.ts b/src/typings/legalEntityManagement/verificationErrorRecursive.ts index f2bb8bfe4..05422dd0c 100644 --- a/src/typings/legalEntityManagement/verificationErrorRecursive.ts +++ b/src/typings/legalEntityManagement/verificationErrorRecursive.ts @@ -23,7 +23,7 @@ export class VerificationErrorRecursive { */ 'message'?: string; /** - * The type of error. + * The type of error. Possible values: * **invalidInput** * **dataMissing** * **pendingStatus** * **rejected** * **dataReview** */ 'type'?: VerificationErrorRecursive.TypeEnum; /** @@ -88,6 +88,7 @@ export namespace VerificationErrorRecursive { IssueCard = 'issueCard', IssueCardCommercial = 'issueCardCommercial', IssueCardConsumer = 'issueCardConsumer', + IssueCreditLimit = 'issueCreditLimit', LocalAcceptance = 'localAcceptance', Payout = 'payout', PayoutToTransferInstrument = 'payoutToTransferInstrument', diff --git a/src/typings/management/accelInfo.ts b/src/typings/management/accelInfo.ts new file mode 100644 index 000000000..5fc9ccc6d --- /dev/null +++ b/src/typings/management/accelInfo.ts @@ -0,0 +1,44 @@ +/* + * The version of the OpenAPI document: v3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit this class manually. + */ + +import { TransactionDescriptionInfo } from './transactionDescriptionInfo'; + +export class AccelInfo { + /** + * The type of transactions processed over this payment method. Allowed values: - **pos** for in-person payments. - **billpay** for subscription payments, both the initial payment and the later recurring payments. These transactions have `recurringProcessingModel` **Subscription**. - **ecom** for all other card not present transactions. This includes non-recurring transactions and transactions with `recurringProcessingModel` **CardOnFile** or **UnscheduledCardOnFile**. + */ + 'processingType': AccelInfo.ProcessingTypeEnum; + 'transactionDescription'?: TransactionDescriptionInfo; + + static discriminator: string | undefined = undefined; + + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ + { + "name": "processingType", + "baseName": "processingType", + "type": "AccelInfo.ProcessingTypeEnum" + }, + { + "name": "transactionDescription", + "baseName": "transactionDescription", + "type": "TransactionDescriptionInfo" + } ]; + + static getAttributeTypeMap() { + return AccelInfo.attributeTypeMap; + } +} + +export namespace AccelInfo { + export enum ProcessingTypeEnum { + Billpay = 'billpay', + Ecom = 'ecom', + Pos = 'pos' + } +} diff --git a/src/typings/management/connectivity.ts b/src/typings/management/connectivity.ts index defd76ae6..47288cc7c 100644 --- a/src/typings/management/connectivity.ts +++ b/src/typings/management/connectivity.ts @@ -7,12 +7,14 @@ * Do not edit this class manually. */ +import { EventUrl } from './eventUrl'; export class Connectivity { /** * Indicates the status of the SIM card in the payment terminal. Can be updated and received only at terminal level, and only for models that support cellular connectivity. Possible values: * **ACTIVATED**: the SIM card is activated. Cellular connectivity may still need to be enabled on the terminal itself, in the **Network** settings. * **INVENTORY**: the SIM card is not activated. The terminal can\'t use cellular connectivity. */ 'simcardStatus'?: Connectivity.SimcardStatusEnum; + 'terminalIPAddressURL'?: EventUrl; static discriminator: string | undefined = undefined; @@ -21,6 +23,11 @@ export class Connectivity { "name": "simcardStatus", "baseName": "simcardStatus", "type": "Connectivity.SimcardStatusEnum" + }, + { + "name": "terminalIPAddressURL", + "baseName": "terminalIPAddressURL", + "type": "EventUrl" } ]; static getAttributeTypeMap() { diff --git a/src/typings/management/models.ts b/src/typings/management/models.ts index 584291103..421b1a062 100644 --- a/src/typings/management/models.ts +++ b/src/typings/management/models.ts @@ -8,6 +8,7 @@ */ +export * from './accelInfo'; export * from './additionalCommission'; export * from './additionalSettings'; export * from './additionalSettingsResponse'; @@ -96,12 +97,14 @@ export * from './name2'; export * from './nexo'; export * from './notification'; export * from './notificationUrl'; +export * from './nyceInfo'; export * from './offlineProcessing'; export * from './opi'; export * from './orderItem'; export * from './paginationLinks'; export * from './passcodes'; export * from './payAtTable'; +export * from './payMeInfo'; export * from './payPalInfo'; export * from './payment'; export * from './paymentMethod'; @@ -111,6 +114,7 @@ export * from './payoutSettings'; export * from './payoutSettingsRequest'; export * from './payoutSettingsResponse'; export * from './profile'; +export * from './pulseInfo'; export * from './receiptOptions'; export * from './receiptPrinting'; export * from './referenced'; @@ -125,12 +129,14 @@ export * from './settings'; export * from './shippingLocation'; export * from './shippingLocationsResponse'; export * from './signature'; +export * from './sodexoInfo'; export * from './sofortInfo'; export * from './splitConfiguration'; export * from './splitConfigurationList'; export * from './splitConfigurationLogic'; export * from './splitConfigurationRule'; export * from './standalone'; +export * from './starInfo'; export * from './store'; export * from './storeAndForward'; export * from './storeCreationRequest'; @@ -195,6 +201,7 @@ export * from './webhookLinks'; export * from './wifiProfiles'; +import { AccelInfo } from './accelInfo'; import { AdditionalCommission } from './additionalCommission'; import { AdditionalSettings } from './additionalSettings'; import { AdditionalSettingsResponse } from './additionalSettingsResponse'; @@ -283,12 +290,14 @@ import { Name2 } from './name2'; import { Nexo } from './nexo'; import { Notification } from './notification'; import { NotificationUrl } from './notificationUrl'; +import { NyceInfo } from './nyceInfo'; import { OfflineProcessing } from './offlineProcessing'; import { Opi } from './opi'; import { OrderItem } from './orderItem'; import { PaginationLinks } from './paginationLinks'; import { Passcodes } from './passcodes'; import { PayAtTable } from './payAtTable'; +import { PayMeInfo } from './payMeInfo'; import { PayPalInfo } from './payPalInfo'; import { Payment } from './payment'; import { PaymentMethod } from './paymentMethod'; @@ -298,6 +307,7 @@ import { PayoutSettings } from './payoutSettings'; import { PayoutSettingsRequest } from './payoutSettingsRequest'; import { PayoutSettingsResponse } from './payoutSettingsResponse'; import { Profile } from './profile'; +import { PulseInfo } from './pulseInfo'; import { ReceiptOptions } from './receiptOptions'; import { ReceiptPrinting } from './receiptPrinting'; import { Referenced } from './referenced'; @@ -312,12 +322,14 @@ import { Settings } from './settings'; import { ShippingLocation } from './shippingLocation'; import { ShippingLocationsResponse } from './shippingLocationsResponse'; import { Signature } from './signature'; +import { SodexoInfo } from './sodexoInfo'; import { SofortInfo } from './sofortInfo'; import { SplitConfiguration } from './splitConfiguration'; import { SplitConfigurationList } from './splitConfigurationList'; import { SplitConfigurationLogic } from './splitConfigurationLogic'; import { SplitConfigurationRule } from './splitConfigurationRule'; import { Standalone } from './standalone'; +import { StarInfo } from './starInfo'; import { Store } from './store'; import { StoreAndForward } from './storeAndForward'; import { StoreCreationRequest } from './storeCreationRequest'; @@ -394,6 +406,7 @@ let primitives = [ ]; let enumsMap: {[index: string]: any} = { + "AccelInfo.ProcessingTypeEnum": AccelInfo.ProcessingTypeEnum, "AmexInfo.ServiceLevelEnum": AmexInfo.ServiceLevelEnum, "Connectivity.SimcardStatusEnum": Connectivity.SimcardStatusEnum, "CreateCompanyWebhookRequest.CommunicationFormatEnum": CreateCompanyWebhookRequest.CommunicationFormatEnum, @@ -407,6 +420,7 @@ let enumsMap: {[index: string]: any} = { "InstallAndroidCertificateDetails.TypeEnum": InstallAndroidCertificateDetails.TypeEnum, "KlarnaInfo.RegionEnum": KlarnaInfo.RegionEnum, "Notification.CategoryEnum": Notification.CategoryEnum, + "NyceInfo.ProcessingTypeEnum": NyceInfo.ProcessingTypeEnum, "PayAtTable.AuthenticationMethodEnum": PayAtTable.AuthenticationMethodEnum, "PayAtTable.PaymentInstrumentEnum": PayAtTable.PaymentInstrumentEnum, "PaymentMethod.VerificationStatusEnum": PaymentMethod.VerificationStatusEnum, @@ -415,6 +429,7 @@ let enumsMap: {[index: string]: any} = { "PaymentMethodSetupInfo.TypeEnum": PaymentMethodSetupInfo.TypeEnum, "PayoutSettings.PriorityEnum": PayoutSettings.PriorityEnum, "PayoutSettings.VerificationStatusEnum": PayoutSettings.VerificationStatusEnum, + "PulseInfo.ProcessingTypeEnum": PulseInfo.ProcessingTypeEnum, "ReleaseUpdateDetails.TypeEnum": ReleaseUpdateDetails.TypeEnum, "SplitConfigurationLogic.AcquiringFeesEnum": SplitConfigurationLogic.AcquiringFeesEnum, "SplitConfigurationLogic.AdyenCommissionEnum": SplitConfigurationLogic.AdyenCommissionEnum, @@ -432,6 +447,7 @@ let enumsMap: {[index: string]: any} = { "SplitConfigurationLogic.TipEnum": SplitConfigurationLogic.TipEnum, "SplitConfigurationRule.FundingSourceEnum": SplitConfigurationRule.FundingSourceEnum, "SplitConfigurationRule.ShopperInteractionEnum": SplitConfigurationRule.ShopperInteractionEnum, + "StarInfo.ProcessingTypeEnum": StarInfo.ProcessingTypeEnum, "Store.StatusEnum": Store.StatusEnum, "TerminalAssignment.StatusEnum": TerminalAssignment.StatusEnum, "TerminalConnectivityCellular.StatusEnum": TerminalConnectivityCellular.StatusEnum, @@ -467,6 +483,7 @@ let enumsMap: {[index: string]: any} = { } let typeMap: {[index: string]: any} = { + "AccelInfo": AccelInfo, "AdditionalCommission": AdditionalCommission, "AdditionalSettings": AdditionalSettings, "AdditionalSettingsResponse": AdditionalSettingsResponse, @@ -555,12 +572,14 @@ let typeMap: {[index: string]: any} = { "Nexo": Nexo, "Notification": Notification, "NotificationUrl": NotificationUrl, + "NyceInfo": NyceInfo, "OfflineProcessing": OfflineProcessing, "Opi": Opi, "OrderItem": OrderItem, "PaginationLinks": PaginationLinks, "Passcodes": Passcodes, "PayAtTable": PayAtTable, + "PayMeInfo": PayMeInfo, "PayPalInfo": PayPalInfo, "Payment": Payment, "PaymentMethod": PaymentMethod, @@ -570,6 +589,7 @@ let typeMap: {[index: string]: any} = { "PayoutSettingsRequest": PayoutSettingsRequest, "PayoutSettingsResponse": PayoutSettingsResponse, "Profile": Profile, + "PulseInfo": PulseInfo, "ReceiptOptions": ReceiptOptions, "ReceiptPrinting": ReceiptPrinting, "Referenced": Referenced, @@ -584,12 +604,14 @@ let typeMap: {[index: string]: any} = { "ShippingLocation": ShippingLocation, "ShippingLocationsResponse": ShippingLocationsResponse, "Signature": Signature, + "SodexoInfo": SodexoInfo, "SofortInfo": SofortInfo, "SplitConfiguration": SplitConfiguration, "SplitConfigurationList": SplitConfigurationList, "SplitConfigurationLogic": SplitConfigurationLogic, "SplitConfigurationRule": SplitConfigurationRule, "Standalone": Standalone, + "StarInfo": StarInfo, "Store": Store, "StoreAndForward": StoreAndForward, "StoreCreationRequest": StoreCreationRequest, diff --git a/src/typings/management/nyceInfo.ts b/src/typings/management/nyceInfo.ts new file mode 100644 index 000000000..e3e9dfcdf --- /dev/null +++ b/src/typings/management/nyceInfo.ts @@ -0,0 +1,44 @@ +/* + * The version of the OpenAPI document: v3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit this class manually. + */ + +import { TransactionDescriptionInfo } from './transactionDescriptionInfo'; + +export class NyceInfo { + /** + * The type of transactions processed over this payment method. Allowed values: - **pos** for in-person payments. - **billpay** for subscription payments, both the initial payment and the later recurring payments. These transactions have `recurringProcessingModel` **Subscription**. - **ecom** for all other card not present transactions. This includes non-recurring transactions and transactions with `recurringProcessingModel` **CardOnFile** or **UnscheduledCardOnFile**. + */ + 'processingType': NyceInfo.ProcessingTypeEnum; + 'transactionDescription'?: TransactionDescriptionInfo; + + static discriminator: string | undefined = undefined; + + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ + { + "name": "processingType", + "baseName": "processingType", + "type": "NyceInfo.ProcessingTypeEnum" + }, + { + "name": "transactionDescription", + "baseName": "transactionDescription", + "type": "TransactionDescriptionInfo" + } ]; + + static getAttributeTypeMap() { + return NyceInfo.attributeTypeMap; + } +} + +export namespace NyceInfo { + export enum ProcessingTypeEnum { + Billpay = 'billpay', + Ecom = 'ecom', + Pos = 'pos' + } +} diff --git a/src/typings/management/payMeInfo.ts b/src/typings/management/payMeInfo.ts new file mode 100644 index 000000000..7c6005249 --- /dev/null +++ b/src/typings/management/payMeInfo.ts @@ -0,0 +1,48 @@ +/* + * The version of the OpenAPI document: v3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit this class manually. + */ + + +export class PayMeInfo { + /** + * Merchant display name + */ + 'displayName': string; + /** + * Merchant logo. Format: Base64-encoded string. + */ + 'logo': string; + /** + * The email address of merchant support. + */ + 'supportEmail': string; + + static discriminator: string | undefined = undefined; + + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ + { + "name": "displayName", + "baseName": "displayName", + "type": "string" + }, + { + "name": "logo", + "baseName": "logo", + "type": "string" + }, + { + "name": "supportEmail", + "baseName": "supportEmail", + "type": "string" + } ]; + + static getAttributeTypeMap() { + return PayMeInfo.attributeTypeMap; + } +} + diff --git a/src/typings/management/paymentMethod.ts b/src/typings/management/paymentMethod.ts index d198e1340..7828f3e0b 100644 --- a/src/typings/management/paymentMethod.ts +++ b/src/typings/management/paymentMethod.ts @@ -7,6 +7,7 @@ * Do not edit this class manually. */ +import { AccelInfo } from './accelInfo'; import { AfterpayTouchInfo } from './afterpayTouchInfo'; import { AmexInfo } from './amexInfo'; import { ApplePayInfo } from './applePayInfo'; @@ -18,8 +19,13 @@ import { GiroPayInfo } from './giroPayInfo'; import { GooglePayInfo } from './googlePayInfo'; import { KlarnaInfo } from './klarnaInfo'; import { MealVoucherFRInfo } from './mealVoucherFRInfo'; +import { NyceInfo } from './nyceInfo'; +import { PayMeInfo } from './payMeInfo'; import { PayPalInfo } from './payPalInfo'; +import { PulseInfo } from './pulseInfo'; +import { SodexoInfo } from './sodexoInfo'; import { SofortInfo } from './sofortInfo'; +import { StarInfo } from './starInfo'; import { SwishInfo } from './swishInfo'; import { TicketInfo } from './ticketInfo'; import { TwintInfo } from './twintInfo'; @@ -28,6 +34,7 @@ import { WeChatPayInfo } from './weChatPayInfo'; import { WeChatPayPosInfo } from './weChatPayPosInfo'; export class PaymentMethod { + 'accel'?: AccelInfo; 'afterpayTouch'?: AfterpayTouchInfo; /** * Indicates whether receiving payments is allowed. This value is set to **true** by Adyen after screening your merchant account. @@ -76,7 +83,10 @@ export class PaymentMethod { 'maestro'?: GenericPmWithTdiInfo; 'mc'?: GenericPmWithTdiInfo; 'mealVoucher_FR'?: MealVoucherFRInfo; + 'nyce'?: NyceInfo; + 'payme'?: PayMeInfo; 'paypal'?: PayPalInfo; + 'pulse'?: PulseInfo; /** * Your reference for the payment method. Supported characters a-z, A-Z, 0-9. */ @@ -85,7 +95,9 @@ export class PaymentMethod { * The sales channel. */ 'shopperInteraction'?: string; + 'sodexo'?: SodexoInfo; 'sofort'?: SofortInfo; + 'star'?: StarInfo; /** * The unique identifier of the store for which to configure the payment method, if any. */ @@ -109,6 +121,11 @@ export class PaymentMethod { static discriminator: string | undefined = undefined; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ + { + "name": "accel", + "baseName": "accel", + "type": "AccelInfo" + }, { "name": "afterpayTouch", "baseName": "afterpayTouch", @@ -244,11 +261,26 @@ export class PaymentMethod { "baseName": "mealVoucher_FR", "type": "MealVoucherFRInfo" }, + { + "name": "nyce", + "baseName": "nyce", + "type": "NyceInfo" + }, + { + "name": "payme", + "baseName": "payme", + "type": "PayMeInfo" + }, { "name": "paypal", "baseName": "paypal", "type": "PayPalInfo" }, + { + "name": "pulse", + "baseName": "pulse", + "type": "PulseInfo" + }, { "name": "reference", "baseName": "reference", @@ -259,11 +291,21 @@ export class PaymentMethod { "baseName": "shopperInteraction", "type": "string" }, + { + "name": "sodexo", + "baseName": "sodexo", + "type": "SodexoInfo" + }, { "name": "sofort", "baseName": "sofort", "type": "SofortInfo" }, + { + "name": "star", + "baseName": "star", + "type": "StarInfo" + }, { "name": "storeIds", "baseName": "storeIds", diff --git a/src/typings/management/paymentMethodResponse.ts b/src/typings/management/paymentMethodResponse.ts index 1a03dc372..9a9f8d463 100644 --- a/src/typings/management/paymentMethodResponse.ts +++ b/src/typings/management/paymentMethodResponse.ts @@ -65,16 +65,25 @@ export class PaymentMethodResponse { export namespace PaymentMethodResponse { export enum TypesWithErrorsEnum { + Accel = 'accel', Afterpaytouch = 'afterpaytouch', + Alelo = 'alelo', Alipay = 'alipay', AlipayHk = 'alipay_hk', Amex = 'amex', Applepay = 'applepay', + BaneseCard = 'banese_card', + BaneseCardCredit = 'banese_card_credit', + BaneseCardDebit = 'banese_card_debit', + BaneseCardPrepaid = 'banese_card_prepaid', Bcmc = 'bcmc', Blik = 'blik', Cartebancaire = 'cartebancaire', Clearpay = 'clearpay', Clicktopay = 'clicktopay', + Credtodos = 'credtodos', + CredtodosPrivateCredit = 'credtodos_private_credit', + CredtodosPrivateDebit = 'credtodos_private_debit', Cup = 'cup', Diners = 'diners', DirectdebitGb = 'directdebit_GB', @@ -101,17 +110,27 @@ export namespace PaymentMethodResponse { MealVoucherFr = 'mealVoucher_FR', Mobilepay = 'mobilepay', Multibanco = 'multibanco', + Nyce = 'nyce', OnlineBankingPl = 'onlineBanking_PL', Paybybank = 'paybybank', + Payme = 'payme', + PaymePos = 'payme_pos', Paynow = 'paynow', PaynowPos = 'paynow_pos', Paypal = 'paypal', Payshop = 'payshop', + Pulse = 'pulse', + Sodexo = 'sodexo', + Star = 'star', Swish = 'swish', Ticket = 'ticket', + TodoGiftcard = 'todo_giftcard', Trustly = 'trustly', Twint = 'twint', TwintPos = 'twint_pos', + UpBrazilCredit = 'up_brazil_credit', + ValeRefeicao = 'vale_refeicao', + ValeRefeicaoPrepaid = 'vale_refeicao_prepaid', Vipps = 'vipps', Visa = 'visa', Visadebit = 'visadebit', diff --git a/src/typings/management/paymentMethodSetupInfo.ts b/src/typings/management/paymentMethodSetupInfo.ts index 732f543d7..0a5a67537 100644 --- a/src/typings/management/paymentMethodSetupInfo.ts +++ b/src/typings/management/paymentMethodSetupInfo.ts @@ -7,6 +7,7 @@ * Do not edit this class manually. */ +import { AccelInfo } from './accelInfo'; import { AfterpayTouchInfo } from './afterpayTouchInfo'; import { AmexInfo } from './amexInfo'; import { ApplePayInfo } from './applePayInfo'; @@ -18,8 +19,13 @@ import { GiroPayInfo } from './giroPayInfo'; import { GooglePayInfo } from './googlePayInfo'; import { KlarnaInfo } from './klarnaInfo'; import { MealVoucherFRInfo } from './mealVoucherFRInfo'; +import { NyceInfo } from './nyceInfo'; +import { PayMeInfo } from './payMeInfo'; import { PayPalInfo } from './payPalInfo'; +import { PulseInfo } from './pulseInfo'; +import { SodexoInfo } from './sodexoInfo'; import { SofortInfo } from './sofortInfo'; +import { StarInfo } from './starInfo'; import { SwishInfo } from './swishInfo'; import { TicketInfo } from './ticketInfo'; import { TwintInfo } from './twintInfo'; @@ -28,6 +34,7 @@ import { WeChatPayInfo } from './weChatPayInfo'; import { WeChatPayPosInfo } from './weChatPayPosInfo'; export class PaymentMethodSetupInfo { + 'accel'?: AccelInfo; 'afterpayTouch'?: AfterpayTouchInfo; 'amex'?: AmexInfo; 'applePay'?: ApplePayInfo; @@ -64,7 +71,10 @@ export class PaymentMethodSetupInfo { 'maestro'?: GenericPmWithTdiInfo; 'mc'?: GenericPmWithTdiInfo; 'mealVoucher_FR'?: MealVoucherFRInfo; + 'nyce'?: NyceInfo; + 'payme'?: PayMeInfo; 'paypal'?: PayPalInfo; + 'pulse'?: PulseInfo; /** * Your reference for the payment method. Supported characters a-z, A-Z, 0-9. */ @@ -73,7 +83,9 @@ export class PaymentMethodSetupInfo { * The sales channel. Required if the merchant account does not have a sales channel. When you provide this field, it overrides the default sales channel set on the merchant account. Possible values: **eCommerce**, **pos**, **contAuth**, and **moto**. */ 'shopperInteraction'?: PaymentMethodSetupInfo.ShopperInteractionEnum; + 'sodexo'?: SodexoInfo; 'sofort'?: SofortInfo; + 'star'?: StarInfo; /** * The unique identifier of the store for which to configure the payment method, if any. */ @@ -93,6 +105,11 @@ export class PaymentMethodSetupInfo { static discriminator: string | undefined = undefined; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ + { + "name": "accel", + "baseName": "accel", + "type": "AccelInfo" + }, { "name": "afterpayTouch", "baseName": "afterpayTouch", @@ -213,11 +230,26 @@ export class PaymentMethodSetupInfo { "baseName": "mealVoucher_FR", "type": "MealVoucherFRInfo" }, + { + "name": "nyce", + "baseName": "nyce", + "type": "NyceInfo" + }, + { + "name": "payme", + "baseName": "payme", + "type": "PayMeInfo" + }, { "name": "paypal", "baseName": "paypal", "type": "PayPalInfo" }, + { + "name": "pulse", + "baseName": "pulse", + "type": "PulseInfo" + }, { "name": "reference", "baseName": "reference", @@ -228,11 +260,21 @@ export class PaymentMethodSetupInfo { "baseName": "shopperInteraction", "type": "PaymentMethodSetupInfo.ShopperInteractionEnum" }, + { + "name": "sodexo", + "baseName": "sodexo", + "type": "SodexoInfo" + }, { "name": "sofort", "baseName": "sofort", "type": "SofortInfo" }, + { + "name": "star", + "baseName": "star", + "type": "StarInfo" + }, { "name": "storeIds", "baseName": "storeIds", @@ -292,16 +334,25 @@ export namespace PaymentMethodSetupInfo { ContAuth = 'contAuth' } export enum TypeEnum { + Accel = 'accel', Afterpaytouch = 'afterpaytouch', + Alelo = 'alelo', Alipay = 'alipay', AlipayHk = 'alipay_hk', Amex = 'amex', Applepay = 'applepay', + BaneseCard = 'banese_card', + BaneseCardCredit = 'banese_card_credit', + BaneseCardDebit = 'banese_card_debit', + BaneseCardPrepaid = 'banese_card_prepaid', Bcmc = 'bcmc', Blik = 'blik', Cartebancaire = 'cartebancaire', Clearpay = 'clearpay', Clicktopay = 'clicktopay', + Credtodos = 'credtodos', + CredtodosPrivateCredit = 'credtodos_private_credit', + CredtodosPrivateDebit = 'credtodos_private_debit', Cup = 'cup', Diners = 'diners', DirectdebitGb = 'directdebit_GB', @@ -328,17 +379,27 @@ export namespace PaymentMethodSetupInfo { MealVoucherFr = 'mealVoucher_FR', Mobilepay = 'mobilepay', Multibanco = 'multibanco', + Nyce = 'nyce', OnlineBankingPl = 'onlineBanking_PL', Paybybank = 'paybybank', + Payme = 'payme', + PaymePos = 'payme_pos', Paynow = 'paynow', PaynowPos = 'paynow_pos', Paypal = 'paypal', Payshop = 'payshop', + Pulse = 'pulse', + Sodexo = 'sodexo', + Star = 'star', Swish = 'swish', Ticket = 'ticket', + TodoGiftcard = 'todo_giftcard', Trustly = 'trustly', Twint = 'twint', TwintPos = 'twint_pos', + UpBrazilCredit = 'up_brazil_credit', + ValeRefeicao = 'vale_refeicao', + ValeRefeicaoPrepaid = 'vale_refeicao_prepaid', Vipps = 'vipps', Visa = 'visa', Visadebit = 'visadebit', diff --git a/src/typings/management/pulseInfo.ts b/src/typings/management/pulseInfo.ts new file mode 100644 index 000000000..d1853b1f4 --- /dev/null +++ b/src/typings/management/pulseInfo.ts @@ -0,0 +1,44 @@ +/* + * The version of the OpenAPI document: v3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit this class manually. + */ + +import { TransactionDescriptionInfo } from './transactionDescriptionInfo'; + +export class PulseInfo { + /** + * The type of transactions processed over this payment method. Allowed values: - **pos** for in-person payments. - **billpay** for subscription payments, both the initial payment and the later recurring payments. These transactions have `recurringProcessingModel` **Subscription**. - **ecom** for all other card not present transactions. This includes non-recurring transactions and transactions with `recurringProcessingModel` **CardOnFile** or **UnscheduledCardOnFile**. + */ + 'processingType': PulseInfo.ProcessingTypeEnum; + 'transactionDescription'?: TransactionDescriptionInfo; + + static discriminator: string | undefined = undefined; + + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ + { + "name": "processingType", + "baseName": "processingType", + "type": "PulseInfo.ProcessingTypeEnum" + }, + { + "name": "transactionDescription", + "baseName": "transactionDescription", + "type": "TransactionDescriptionInfo" + } ]; + + static getAttributeTypeMap() { + return PulseInfo.attributeTypeMap; + } +} + +export namespace PulseInfo { + export enum ProcessingTypeEnum { + Billpay = 'billpay', + Ecom = 'ecom', + Pos = 'pos' + } +} diff --git a/src/typings/management/sodexoInfo.ts b/src/typings/management/sodexoInfo.ts new file mode 100644 index 000000000..8823cda92 --- /dev/null +++ b/src/typings/management/sodexoInfo.ts @@ -0,0 +1,30 @@ +/* + * The version of the OpenAPI document: v3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit this class manually. + */ + + +export class SodexoInfo { + /** + * Sodexo merchantContactPhone + */ + 'merchantContactPhone': string; + + static discriminator: string | undefined = undefined; + + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ + { + "name": "merchantContactPhone", + "baseName": "merchantContactPhone", + "type": "string" + } ]; + + static getAttributeTypeMap() { + return SodexoInfo.attributeTypeMap; + } +} + diff --git a/src/typings/management/starInfo.ts b/src/typings/management/starInfo.ts new file mode 100644 index 000000000..a5c1e09e9 --- /dev/null +++ b/src/typings/management/starInfo.ts @@ -0,0 +1,44 @@ +/* + * The version of the OpenAPI document: v3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit this class manually. + */ + +import { TransactionDescriptionInfo } from './transactionDescriptionInfo'; + +export class StarInfo { + /** + * The type of transactions processed over this payment method. Allowed values: - **pos** for in-person payments. - **billpay** for subscription payments, both the initial payment and the later recurring payments. These transactions have `recurringProcessingModel` **Subscription**. - **ecom** for all other card not present transactions. This includes non-recurring transactions and transactions with `recurringProcessingModel` **CardOnFile** or **UnscheduledCardOnFile**. + */ + 'processingType': StarInfo.ProcessingTypeEnum; + 'transactionDescription'?: TransactionDescriptionInfo; + + static discriminator: string | undefined = undefined; + + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ + { + "name": "processingType", + "baseName": "processingType", + "type": "StarInfo.ProcessingTypeEnum" + }, + { + "name": "transactionDescription", + "baseName": "transactionDescription", + "type": "TransactionDescriptionInfo" + } ]; + + static getAttributeTypeMap() { + return StarInfo.attributeTypeMap; + } +} + +export namespace StarInfo { + export enum ProcessingTypeEnum { + Billpay = 'billpay', + Ecom = 'ecom', + Pos = 'pos' + } +} diff --git a/src/typings/management/updatePaymentMethodInfo.ts b/src/typings/management/updatePaymentMethodInfo.ts index 3e83e4fb1..6d251d0a1 100644 --- a/src/typings/management/updatePaymentMethodInfo.ts +++ b/src/typings/management/updatePaymentMethodInfo.ts @@ -7,11 +7,16 @@ * Do not edit this class manually. */ +import { AccelInfo } from './accelInfo'; import { BcmcInfo } from './bcmcInfo'; import { CartesBancairesInfo } from './cartesBancairesInfo'; import { GenericPmWithTdiInfo } from './genericPmWithTdiInfo'; +import { NyceInfo } from './nyceInfo'; +import { PulseInfo } from './pulseInfo'; +import { StarInfo } from './starInfo'; export class UpdatePaymentMethodInfo { + 'accel'?: AccelInfo; 'bcmc'?: BcmcInfo; 'cartesBancaires'?: CartesBancairesInfo; /** @@ -40,6 +45,9 @@ export class UpdatePaymentMethodInfo { 'jcb'?: GenericPmWithTdiInfo; 'maestro'?: GenericPmWithTdiInfo; 'mc'?: GenericPmWithTdiInfo; + 'nyce'?: NyceInfo; + 'pulse'?: PulseInfo; + 'star'?: StarInfo; /** * The list of stores for this payment method */ @@ -49,6 +57,11 @@ export class UpdatePaymentMethodInfo { static discriminator: string | undefined = undefined; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ + { + "name": "accel", + "baseName": "accel", + "type": "AccelInfo" + }, { "name": "bcmc", "baseName": "bcmc", @@ -129,6 +142,21 @@ export class UpdatePaymentMethodInfo { "baseName": "mc", "type": "GenericPmWithTdiInfo" }, + { + "name": "nyce", + "baseName": "nyce", + "type": "NyceInfo" + }, + { + "name": "pulse", + "baseName": "pulse", + "type": "PulseInfo" + }, + { + "name": "star", + "baseName": "star", + "type": "StarInfo" + }, { "name": "storeIds", "baseName": "storeIds", diff --git a/src/typings/payment/additionalData3DSecure.ts b/src/typings/payment/additionalData3DSecure.ts index c8fe423d6..872438d6d 100644 --- a/src/typings/payment/additionalData3DSecure.ts +++ b/src/typings/payment/additionalData3DSecure.ts @@ -10,7 +10,7 @@ export class AdditionalData3DSecure { /** - * Indicates if you are able to process 3D Secure 2 transactions natively on your payment page. Send this parameter when you are using `/payments` endpoint with any of our [native 3D Secure 2 solutions](https://docs.adyen.com/online-payments/3d-secure/native-3ds2). > This parameter only indicates readiness to support native 3D Secure 2 authentication. To specify if you _want_ to perform 3D Secure, use [Dynamic 3D Secure](/risk-management/dynamic-3d-secure) or send the `executeThreeD` parameter. Possible values: * **true** - Ready to support native 3D Secure 2 authentication. Setting this to true does not mean always applying 3D Secure 2. Adyen still selects the version of 3D Secure based on configuration to optimize authorisation rates and improve the shopper\'s experience. * **false** – Not ready to support native 3D Secure 2 authentication. Adyen will not offer 3D Secure 2 to your shopper regardless of your configuration. + * Indicates if you are able to process 3D Secure 2 transactions natively on your payment page. Send this parameter when you are using `/payments` endpoint with any of our [native 3D Secure 2 solutions](https://docs.adyen.com/online-payments/3d-secure/native-3ds2). > This parameter only indicates readiness to support native 3D Secure 2 authentication. To specify if you _want_ to perform 3D Secure, use [Dynamic 3D Secure](/risk-management/dynamic-3d-secure) or send the `executeThreeD` parameter. Possible values: * **true** - Ready to support native 3D Secure 2 authentication. Setting this to true does not mean always applying 3D Secure 2. Adyen selects redirect or native authentication based on your configuration to optimize authorization rates and improve the shopper\'s experience. * **false** – Not ready to support native 3D Secure 2 authentication. Adyen offers redirect 3D Secure 2 authentication instead, based on your configuration. */ 'allow3DS2'?: string; /** diff --git a/src/typings/payment/additionalDataLodging.ts b/src/typings/payment/additionalDataLodging.ts index 52f8f59f5..b251e86c2 100644 --- a/src/typings/payment/additionalDataLodging.ts +++ b/src/typings/payment/additionalDataLodging.ts @@ -22,7 +22,7 @@ export class AdditionalDataLodging { */ 'lodging_checkOutDate'?: string; /** - * The toll-free phone number for the lodging. * Format: numeric * Max length: 17 characters. * For US and CA numbers must be 10 characters in length * Must not start with a space * Must not contain any special characters such as + or - *Must not be all zeros. + * The toll-free phone number for the lodging. * Format: numeric * Max length: 17 characters. * For US and CA numbers must be 10 characters in length * Must not start with a space * Must not contain any special characters such as + or - * Must not be all zeros. */ 'lodging_customerServiceTollFreeNumber'?: string; /** @@ -34,7 +34,7 @@ export class AdditionalDataLodging { */ 'lodging_folioCashAdvances'?: string; /** - * The card acceptor’s internal invoice or billing ID reference number. * Max length: 25 characters. * Must not start with a space *Must not be all zeros. + * The card acceptor’s internal invoice or billing ID reference number. * Max length: 25 characters * Must not start with a space * Must not contain any special characters * Must not be all zeros. */ 'lodging_folioNumber'?: string; /** @@ -50,7 +50,7 @@ export class AdditionalDataLodging { */ 'lodging_prepaidExpenses'?: string; /** - * The lodging property location\'s phone number. * Format: numeric. * Min length: 10 characters * Max length: 17 characters * For US and CA numbers must be 10 characters in length * Must not start with a space * Must not contain any special characters such as + or - *Must not be all zeros. + * The lodging property location\'s phone number. * Format: numeric * Min length: 10 characters * Max length: 17 characters * For US and CA numbers must be 10 characters in length * Must not start with a space * Must not contain any special characters such as + or - * Must not be all zeros. */ 'lodging_propertyPhoneNumber'?: string; /**