diff --git a/src/typings/balancePlatform/accountHolder.ts b/src/typings/balancePlatform/accountHolder.ts index ccfac13..591ef4c 100644 --- a/src/typings/balancePlatform/accountHolder.ts +++ b/src/typings/balancePlatform/accountHolder.ts @@ -29,7 +29,7 @@ export class AccountHolder { */ 'id': string; /** - * The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/legalEntities__resParam_id) associated with the account holder. Adyen performs a verification process against the legal entity of the account holder. For more information on how to create a legal entity, refer to [Onboard and verify account holders](https://docs.adyen.com/issuing/kyc-verification). + * The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities__resParam_id) associated with the account holder. Adyen performs a verification process against the legal entity of the account holder. */ 'legalEntityId': string; /** @@ -41,7 +41,7 @@ export class AccountHolder { */ 'reference'?: string; /** - * The status of the account holder. Possible values: * **Active**: The account holder is active. This is the default status when creating an account holder. * **Suspended**: The account holder is temporarily suspended. You can set the account back to active or close it permanently. * **Closed**: The account holder is permanently deactivated. This action cannot be undone. + * The status of the account holder. Possible values: * **active**: The account holder is active. This is the default status when creating an account holder. * **inactive**: The account holder is temporarily inactive due to missing KYC details. You can set the account back to active by providing the missing KYC details. * **suspended**: The account holder is permanently deactivated by Adyen. This action cannot be undone. * **closed**: The account holder is permanently deactivated by you. This action cannot be undone. */ 'status'?: AccountHolder.StatusEnum; /** diff --git a/src/typings/balancePlatform/accountHolderCapability.ts b/src/typings/balancePlatform/accountHolderCapability.ts index e3f902f..3c7233c 100644 --- a/src/typings/balancePlatform/accountHolderCapability.ts +++ b/src/typings/balancePlatform/accountHolderCapability.ts @@ -7,7 +7,6 @@ * Do not edit this class manually. */ -import { CapabilityProblem } from './capabilityProblem'; import { JSONObject } from './jSONObject'; export class AccountHolderCapability { @@ -27,7 +26,7 @@ export class AccountHolderCapability { /** * Contains verification errors and the actions that you can take to resolve them. */ - 'problems'?: Array; + 'problems'?: Array; /** * Indicates whether the capability is requested. To check whether the account holder is permitted to use the capability, refer to the `allowed` field. */ @@ -68,7 +67,7 @@ export class AccountHolderCapability { { "name": "problems", "baseName": "problems", - "type": "Array" + "type": "Array" }, { "name": "requested", diff --git a/src/typings/balancePlatform/accountHolderInfo.ts b/src/typings/balancePlatform/accountHolderInfo.ts index 72a0c1c..6516f70 100644 --- a/src/typings/balancePlatform/accountHolderInfo.ts +++ b/src/typings/balancePlatform/accountHolderInfo.ts @@ -25,7 +25,7 @@ export class AccountHolderInfo { */ 'description'?: string; /** - * The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/legalEntities__resParam_id) associated with the account holder. Adyen performs a verification process against the legal entity of the account holder. For more information on how to create a legal entity, refer to [Onboard and verify account holders](https://docs.adyen.com/issuing/kyc-verification). + * The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities__resParam_id) associated with the account holder. Adyen performs a verification process against the legal entity of the account holder. */ 'legalEntityId': string; /** diff --git a/src/typings/balancePlatform/bankAccount.ts b/src/typings/balancePlatform/bankAccount.ts new file mode 100644 index 0000000..4cbf2ce --- /dev/null +++ b/src/typings/balancePlatform/bankAccount.ts @@ -0,0 +1,30 @@ +/* + * The version of the OpenAPI document: v2 + * Contact: developer-experience@adyen.com + * + * 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 BankAccount { + /** + * The [International Bank Account Number](https://en.wikipedia.org/wiki/International_Bank_Account_Number) (IBAN). + */ + 'iban': string; + + static discriminator: string | undefined = undefined; + + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ + { + "name": "iban", + "baseName": "iban", + "type": "string" + } ]; + + static getAttributeTypeMap() { + return BankAccount.attributeTypeMap; + } +} + diff --git a/src/typings/balancePlatform/capabilityProblem.ts b/src/typings/balancePlatform/capabilityProblem.ts deleted file mode 100644 index 14ba744..0000000 --- a/src/typings/balancePlatform/capabilityProblem.ts +++ /dev/null @@ -1,38 +0,0 @@ -/* - * The version of the OpenAPI document: v2 - * Contact: developer-experience@adyen.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit this class manually. - */ - -import { CapabilityProblemEntity } from './capabilityProblemEntity'; -import { VerificationError } from './verificationError'; - -export class CapabilityProblem { - 'entity'?: CapabilityProblemEntity; - /** - * Contains information about the verification error. - */ - 'verificationErrors'?: Array; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "entity", - "baseName": "entity", - "type": "CapabilityProblemEntity" - }, - { - "name": "verificationErrors", - "baseName": "verificationErrors", - "type": "Array" - } ]; - - static getAttributeTypeMap() { - return CapabilityProblem.attributeTypeMap; - } -} - diff --git a/src/typings/balancePlatform/capabilityProblemEntity.ts b/src/typings/balancePlatform/capabilityProblemEntity.ts deleted file mode 100644 index efbd925..0000000 --- a/src/typings/balancePlatform/capabilityProblemEntity.ts +++ /dev/null @@ -1,53 +0,0 @@ -/* - * The version of the OpenAPI document: v2 - * Contact: developer-experience@adyen.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit this class manually. - */ - -import { CapabilityProblemEntityRecursive } from './capabilityProblemEntityRecursive'; - -export class CapabilityProblemEntity { - /** - * The ID of the entity. - */ - 'id'?: string; - 'owner'?: CapabilityProblemEntityRecursive; - /** - * Type of entity. Possible values: **LegalEntity**, **BankAccount**, **Document**. - */ - 'type'?: CapabilityProblemEntity.TypeEnum; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "id", - "baseName": "id", - "type": "string" - }, - { - "name": "owner", - "baseName": "owner", - "type": "CapabilityProblemEntityRecursive" - }, - { - "name": "type", - "baseName": "type", - "type": "CapabilityProblemEntity.TypeEnum" - } ]; - - static getAttributeTypeMap() { - return CapabilityProblemEntity.attributeTypeMap; - } -} - -export namespace CapabilityProblemEntity { - export enum TypeEnum { - BankAccount = 'BankAccount', - Document = 'Document', - LegalEntity = 'LegalEntity' - } -} diff --git a/src/typings/balancePlatform/capabilityProblemEntityRecursive.ts b/src/typings/balancePlatform/capabilityProblemEntityRecursive.ts deleted file mode 100644 index e75b3a5..0000000 --- a/src/typings/balancePlatform/capabilityProblemEntityRecursive.ts +++ /dev/null @@ -1,46 +0,0 @@ -/* - * The version of the OpenAPI document: v2 - * Contact: developer-experience@adyen.com - * - * 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 CapabilityProblemEntityRecursive { - /** - * The ID of the entity. - */ - 'id'?: string; - /** - * Type of entity. Possible values: **LegalEntity**, **BankAccount**, **Document**. - */ - 'type'?: CapabilityProblemEntityRecursive.TypeEnum; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "id", - "baseName": "id", - "type": "string" - }, - { - "name": "type", - "baseName": "type", - "type": "CapabilityProblemEntityRecursive.TypeEnum" - } ]; - - static getAttributeTypeMap() { - return CapabilityProblemEntityRecursive.attributeTypeMap; - } -} - -export namespace CapabilityProblemEntityRecursive { - export enum TypeEnum { - BankAccount = 'BankAccount', - Document = 'Document', - LegalEntity = 'LegalEntity' - } -} diff --git a/src/typings/balancePlatform/card.ts b/src/typings/balancePlatform/card.ts index 439f242..8efc78a 100644 --- a/src/typings/balancePlatform/card.ts +++ b/src/typings/balancePlatform/card.ts @@ -27,7 +27,7 @@ export class Card { */ 'brandVariant': string; /** - * The name of the card holder. Maximum length: 26 characters. + * The name of the cardholder. Maximum length: 26 characters. */ 'cardholderName': string; 'configuration'?: CardConfiguration; diff --git a/src/typings/balancePlatform/cardInfo.ts b/src/typings/balancePlatform/cardInfo.ts index d6bd71f..d1d04c9 100644 --- a/src/typings/balancePlatform/cardInfo.ts +++ b/src/typings/balancePlatform/cardInfo.ts @@ -22,7 +22,7 @@ export class CardInfo { */ 'brandVariant': string; /** - * The name of the card holder. Maximum length: 26 characters. + * The name of the cardholder. Maximum length: 26 characters. */ 'cardholderName': string; 'configuration'?: CardConfiguration; diff --git a/src/typings/balancePlatform/cronSweepSchedule.ts b/src/typings/balancePlatform/cronSweepSchedule.ts new file mode 100644 index 0000000..0b8055a --- /dev/null +++ b/src/typings/balancePlatform/cronSweepSchedule.ts @@ -0,0 +1,48 @@ +/* + * The version of the OpenAPI document: v2 + * Contact: developer-experience@adyen.com + * + * 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 CronSweepSchedule { + /** + * A [cron expression](https://en.wikipedia.org/wiki/Cron#CRON_expression) that is used to set the sweep schedule. The schedule uses the time zone of the balance account. For example, **30 17 * * MON** schedules a sweep every Monday at 17:30. The expression must have five values separated by a single space in the following order: * Minute: **0-59** * Hour: **0-23** * Day of the month: **1-31** * Month: **1-12** or **JAN-DEC** * Day of the week: **0-7** (0 and 7 are Sunday) or **MON-SUN**. The following non-standard characters are supported: *****, **L**, **#**, **W** and **_/_**. See [crontab guru](https://crontab.guru/) for more examples. + */ + 'cronExpression': string; + /** + * The schedule type. Possible values: * **cron**: push out funds based on a cron expression. * **daily**: push out funds daily at 07:00 AM CET. * **weekly**: push out funds every Monday at 07:00 AM CET. * **monthly**: push out funds every first of the month at 07:00 AM CET. * **balance**: pull in funds instantly if the balance is less than or equal to the `triggerAmount`. You can only use this for sweeps of `type` **pull** and when the source is a `merchantAccount` or `transferInstrument`. + */ + 'type'?: CronSweepSchedule.TypeEnum; + + static discriminator: string | undefined = undefined; + + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ + { + "name": "cronExpression", + "baseName": "cronExpression", + "type": "string" + }, + { + "name": "type", + "baseName": "type", + "type": "CronSweepSchedule.TypeEnum" + } ]; + + static getAttributeTypeMap() { + return CronSweepSchedule.attributeTypeMap; + } +} + +export namespace CronSweepSchedule { + export enum TypeEnum { + Daily = 'daily', + Weekly = 'weekly', + Monthly = 'monthly', + Balance = 'balance', + Cron = 'cron' + } +} diff --git a/src/typings/balancePlatform/deliveryContact.ts b/src/typings/balancePlatform/deliveryContact.ts index 038f51c..47fa2ad 100644 --- a/src/typings/balancePlatform/deliveryContact.ts +++ b/src/typings/balancePlatform/deliveryContact.ts @@ -12,7 +12,7 @@ import { Name } from './name'; import { PhoneNumber } from './phoneNumber'; export class DeliveryContact { - 'address'?: Address2; + 'address': Address2; /** * The email address of the contact. */ @@ -21,7 +21,7 @@ export class DeliveryContact { * The full phone number of the contact provided as a single string. It will be handled as a landline phone. **Examples:** \"0031 6 11 22 33 44\", \"+316/1122-3344\", \"(0031) 611223344\" */ 'fullPhoneNumber'?: string; - 'name'?: Name; + 'name': Name; 'phoneNumber'?: PhoneNumber; /** * The URL of the contact\'s website. diff --git a/src/typings/balancePlatform/entryModesRestriction.ts b/src/typings/balancePlatform/entryModesRestriction.ts index a5b1173..dd04228 100644 --- a/src/typings/balancePlatform/entryModesRestriction.ts +++ b/src/typings/balancePlatform/entryModesRestriction.ts @@ -14,7 +14,7 @@ export class EntryModesRestriction { */ 'operation': string; /** - * List of point-of-sale entry modes. Possible values: **manual**, **chip**, **magstripe**, **contactless**, **cof**, **token**, **server**, **barcode**, **ocr**. + * List of point-of-sale entry modes. Possible values: **barcode**, **chip**, **cof**, **contactless**, **magstripe**, **manual**, **ocr**, **server**. */ 'value'?: Array; @@ -47,7 +47,6 @@ export namespace EntryModesRestriction { Manual = 'manual', Ocr = 'ocr', Server = 'server', - Token = 'token', Unknown = 'unknown' } } diff --git a/src/typings/balancePlatform/models.ts b/src/typings/balancePlatform/models.ts index 147785d..2148a8f 100644 --- a/src/typings/balancePlatform/models.ts +++ b/src/typings/balancePlatform/models.ts @@ -22,16 +22,15 @@ export * from './balanceAccountInfo'; export * from './balanceAccountUpdateRequest'; export * from './balancePlatform'; export * from './balanceSweepConfigurationsResponse'; +export * from './bankAccount'; export * from './brandVariantsRestriction'; export * from './bulkAddress'; -export * from './capabilityProblem'; -export * from './capabilityProblemEntity'; -export * from './capabilityProblemEntityRecursive'; export * from './card'; export * from './cardConfiguration'; export * from './cardInfo'; export * from './contactDetails'; export * from './countriesRestriction'; +export * from './cronSweepSchedule'; export * from './deliveryContact'; export * from './differentCurrenciesRestriction'; export * from './duration'; @@ -90,16 +89,15 @@ import { BalanceAccountInfo } from './balanceAccountInfo'; import { BalanceAccountUpdateRequest } from './balanceAccountUpdateRequest'; import { BalancePlatform } from './balancePlatform'; import { BalanceSweepConfigurationsResponse } from './balanceSweepConfigurationsResponse'; +import { BankAccount } from './bankAccount'; import { BrandVariantsRestriction } from './brandVariantsRestriction'; import { BulkAddress } from './bulkAddress'; -import { CapabilityProblem } from './capabilityProblem'; -import { CapabilityProblemEntity } from './capabilityProblemEntity'; -import { CapabilityProblemEntityRecursive } from './capabilityProblemEntityRecursive'; import { Card } from './card'; import { CardConfiguration } from './cardConfiguration'; import { CardInfo } from './cardInfo'; import { ContactDetails } from './contactDetails'; import { CountriesRestriction } from './countriesRestriction'; +import { CronSweepSchedule } from './cronSweepSchedule'; import { DeliveryContact } from './deliveryContact'; import { DifferentCurrenciesRestriction } from './differentCurrenciesRestriction'; import { Duration } from './duration'; @@ -162,10 +160,9 @@ let enumsMap: {[index: string]: any} = { "AccountHolderCapability.VerificationStatusEnum": AccountHolderCapability.VerificationStatusEnum, "BalanceAccount.StatusEnum": BalanceAccount.StatusEnum, "BalanceAccountUpdateRequest.StatusEnum": BalanceAccountUpdateRequest.StatusEnum, - "CapabilityProblemEntity.TypeEnum": CapabilityProblemEntity.TypeEnum, - "CapabilityProblemEntityRecursive.TypeEnum": CapabilityProblemEntityRecursive.TypeEnum, "Card.FormFactorEnum": Card.FormFactorEnum, "CardInfo.FormFactorEnum": CardInfo.FormFactorEnum, + "CronSweepSchedule.TypeEnum": CronSweepSchedule.TypeEnum, "Duration.UnitEnum": Duration.UnitEnum, "EntryModesRestriction.ValueEnum": EntryModesRestriction.ValueEnum, "PaymentInstrument.StatusEnum": PaymentInstrument.StatusEnum, @@ -209,16 +206,15 @@ let typeMap: {[index: string]: any} = { "BalanceAccountUpdateRequest": BalanceAccountUpdateRequest, "BalancePlatform": BalancePlatform, "BalanceSweepConfigurationsResponse": BalanceSweepConfigurationsResponse, + "BankAccount": BankAccount, "BrandVariantsRestriction": BrandVariantsRestriction, "BulkAddress": BulkAddress, - "CapabilityProblem": CapabilityProblem, - "CapabilityProblemEntity": CapabilityProblemEntity, - "CapabilityProblemEntityRecursive": CapabilityProblemEntityRecursive, "Card": Card, "CardConfiguration": CardConfiguration, "CardInfo": CardInfo, "ContactDetails": ContactDetails, "CountriesRestriction": CountriesRestriction, + "CronSweepSchedule": CronSweepSchedule, "DeliveryContact": DeliveryContact, "DifferentCurrenciesRestriction": DifferentCurrenciesRestriction, "Duration": Duration, diff --git a/src/typings/balancePlatform/paymentInstrument.ts b/src/typings/balancePlatform/paymentInstrument.ts index 3e4785f..3468ecb 100644 --- a/src/typings/balancePlatform/paymentInstrument.ts +++ b/src/typings/balancePlatform/paymentInstrument.ts @@ -7,6 +7,7 @@ * Do not edit this class manually. */ +import { BankAccount } from './bankAccount'; import { Card } from './card'; export class PaymentInstrument { @@ -14,6 +15,7 @@ export class PaymentInstrument { * The unique identifier of the [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/v1/post/balanceAccounts__resParam_id) associated with the payment instrument. */ 'balanceAccountId': string; + 'bankAccount'?: BankAccount; 'card'?: Card; /** * Your description for the payment instrument, maximum 300 characters. @@ -36,7 +38,7 @@ export class PaymentInstrument { */ 'reference'?: string; /** - * The status of the payment instrument. If a status is not specified when creating a payment instrument, it is set to **active** by default. However, there can be exceptions based on the `card.formFactor` and the `issuingCountryCode`. For example, when issuing physical cards in the US, the default status is **inactive**. Possible values: * **active**: The payment instrument is active and can be used to make payments. * **inactive**: The payment instrument is inactive and cannot be used to make payments. * **suspended**: The payment instrument is suspended, either because it was stolen or lost. * **closed**: The payment instrument is permanently closed. This action cannot be undone. + * The status of the payment instrument. If a status is not specified when creating a payment instrument, it is set to **active** by default. However, there can be exceptions for cards based on the `card.formFactor` and the `issuingCountryCode`. For example, when issuing physical cards in the US, the default status is **inactive**. Possible values: * **active**: The payment instrument is active and can be used to make payments. * **inactive**: The payment instrument is inactive and cannot be used to make payments. * **suspended**: The payment instrument is suspended, either because it was stolen or lost. * **closed**: The payment instrument is permanently closed. This action cannot be undone. */ 'status'?: PaymentInstrument.StatusEnum; /** @@ -44,7 +46,7 @@ export class PaymentInstrument { */ 'statusReason'?: PaymentInstrument.StatusReasonEnum; /** - * Type of payment instrument. Possible value: **card**. + * Type of payment instrument. Possible value: **card**, **bankAccount**. */ 'type': PaymentInstrument.TypeEnum; @@ -56,6 +58,11 @@ export class PaymentInstrument { "baseName": "balanceAccountId", "type": "string" }, + { + "name": "bankAccount", + "baseName": "bankAccount", + "type": "BankAccount" + }, { "name": "card", "baseName": "card", @@ -125,6 +132,7 @@ export namespace PaymentInstrument { SuspectedFraud = 'suspectedFraud' } export enum TypeEnum { + BankAccount = 'bankAccount', Card = 'card' } } diff --git a/src/typings/balancePlatform/paymentInstrumentInfo.ts b/src/typings/balancePlatform/paymentInstrumentInfo.ts index 015bed8..a415355 100644 --- a/src/typings/balancePlatform/paymentInstrumentInfo.ts +++ b/src/typings/balancePlatform/paymentInstrumentInfo.ts @@ -32,7 +32,7 @@ export class PaymentInstrumentInfo { */ 'reference'?: string; /** - * The status of the payment instrument. If a status is not specified when creating a payment instrument, it is set to **active** by default. However, there can be exceptions based on the `card.formFactor` and the `issuingCountryCode`. For example, when issuing physical cards in the US, the default status is **inactive**. Possible values: * **active**: The payment instrument is active and can be used to make payments. * **inactive**: The payment instrument is inactive and cannot be used to make payments. * **suspended**: The payment instrument is suspended, either because it was stolen or lost. * **closed**: The payment instrument is permanently closed. This action cannot be undone. + * The status of the payment instrument. If a status is not specified when creating a payment instrument, it is set to **active** by default. However, there can be exceptions for cards based on the `card.formFactor` and the `issuingCountryCode`. For example, when issuing physical cards in the US, the default status is **inactive**. Possible values: * **active**: The payment instrument is active and can be used to make payments. * **inactive**: The payment instrument is inactive and cannot be used to make payments. * **suspended**: The payment instrument is suspended, either because it was stolen or lost. * **closed**: The payment instrument is permanently closed. This action cannot be undone. */ 'status'?: PaymentInstrumentInfo.StatusEnum; /** @@ -40,7 +40,7 @@ export class PaymentInstrumentInfo { */ 'statusReason'?: PaymentInstrumentInfo.StatusReasonEnum; /** - * Type of payment instrument. Possible value: **card**. + * Type of payment instrument. Possible value: **card**, **bankAccount**. */ 'type': PaymentInstrumentInfo.TypeEnum; @@ -116,6 +116,7 @@ export namespace PaymentInstrumentInfo { SuspectedFraud = 'suspectedFraud' } export enum TypeEnum { + BankAccount = 'bankAccount', Card = 'card' } } diff --git a/src/typings/balancePlatform/paymentInstrumentUpdateRequest.ts b/src/typings/balancePlatform/paymentInstrumentUpdateRequest.ts index 1e8fb05..55114e6 100644 --- a/src/typings/balancePlatform/paymentInstrumentUpdateRequest.ts +++ b/src/typings/balancePlatform/paymentInstrumentUpdateRequest.ts @@ -16,7 +16,7 @@ export class PaymentInstrumentUpdateRequest { 'balanceAccountId'?: string; 'card'?: CardInfo; /** - * The status of the payment instrument. If a status is not specified when creating a payment instrument, it is set to **active** by default. However, there can be exceptions based on the `card.formFactor` and the `issuingCountryCode`. For example, when issuing physical cards in the US, the default status is **inactive**. Possible values: * **active**: The payment instrument is active and can be used to make payments. * **inactive**: The payment instrument is inactive and cannot be used to make payments. * **suspended**: The payment instrument is suspended, either because it was stolen or lost. * **closed**: The payment instrument is permanently closed. This action cannot be undone. + * The status of the payment instrument. If a status is not specified when creating a payment instrument, it is set to **active** by default. However, there can be exceptions for cards based on the `card.formFactor` and the `issuingCountryCode`. For example, when issuing physical cards in the US, the default status is **inactive**. Possible values: * **active**: The payment instrument is active and can be used to make payments. * **inactive**: The payment instrument is inactive and cannot be used to make payments. * **suspended**: The payment instrument is suspended, either because it was stolen or lost. * **closed**: The payment instrument is permanently closed. This action cannot be undone. */ 'status'?: PaymentInstrumentUpdateRequest.StatusEnum; /** diff --git a/src/typings/balancePlatform/processingTypesRestriction.ts b/src/typings/balancePlatform/processingTypesRestriction.ts index f0c1004..391215b 100644 --- a/src/typings/balancePlatform/processingTypesRestriction.ts +++ b/src/typings/balancePlatform/processingTypesRestriction.ts @@ -14,7 +14,7 @@ export class ProcessingTypesRestriction { */ 'operation': string; /** - * List of processing types. Possible values: **atmWithdraw**, **pos**, **ecommerce**, **moto**, **recurring**, **balanceInquiry**. + * List of processing types. Possible values: **atmWithdraw**, **balanceInquiry**, **ecommerce**, **moto**, **pos**, **recurring**, **token**. */ 'value'?: Array; @@ -44,7 +44,6 @@ export namespace ProcessingTypesRestriction { Ecommerce = 'ecommerce', Moto = 'moto', Pos = 'pos', - PurchaseWithCashback = 'purchaseWithCashback', Recurring = 'recurring', Token = 'token', Unknown = 'unknown' diff --git a/src/typings/balancePlatform/restServiceError.ts b/src/typings/balancePlatform/restServiceError.ts index f41d0c6..8569dc2 100644 --- a/src/typings/balancePlatform/restServiceError.ts +++ b/src/typings/balancePlatform/restServiceError.ts @@ -20,10 +20,6 @@ export class RestServiceError { */ 'errorCode': string; /** - * A URI that identifies the problem type, pointing to human-readable documentation on this problem type. - */ - 'errorType': string; - /** * A unique URI that identifies the specific occurrence of the problem. */ 'instance'?: string; @@ -44,6 +40,10 @@ export class RestServiceError { * A short, human-readable summary of the problem type. */ 'title': string; + /** + * A URI that identifies the problem type, pointing to human-readable documentation on this problem type. + */ + 'type': string; static discriminator: string | undefined = undefined; @@ -58,11 +58,6 @@ export class RestServiceError { "baseName": "errorCode", "type": "string" }, - { - "name": "errorType", - "baseName": "errorType", - "type": "string" - }, { "name": "instance", "baseName": "instance", @@ -92,6 +87,11 @@ export class RestServiceError { "name": "title", "baseName": "title", "type": "string" + }, + { + "name": "type", + "baseName": "type", + "type": "string" } ]; static getAttributeTypeMap() { diff --git a/src/typings/balancePlatform/sweepConfigurationV2.ts b/src/typings/balancePlatform/sweepConfigurationV2.ts index 23d9fdf..0dc36e6 100644 --- a/src/typings/balancePlatform/sweepConfigurationV2.ts +++ b/src/typings/balancePlatform/sweepConfigurationV2.ts @@ -8,6 +8,7 @@ */ import { Amount } from './amount'; +import { CronSweepSchedule } from './cronSweepSchedule'; import { SweepCounterparty } from './sweepCounterparty'; import { SweepSchedule } from './sweepSchedule'; @@ -18,10 +19,17 @@ export class SweepConfigurationV2 { */ 'currency': string; /** + * The message that will be used in the sweep transfer\'s description body with a maximum length of 140 characters. If the message is longer after replacing placeholders, the message will be cut off at 140 characters. + */ + 'description'?: string; + /** * The unique identifier of the sweep. */ 'id': string; - 'schedule': SweepSchedule; + /** + * The schedule when the `triggerAmount` is evaluated. If the balance meets the threshold, funds are pushed out of or pulled in to the balance account. + */ + 'schedule': CronSweepSchedule | SweepSchedule; /** * The status of the sweep. If not provided, by default, this is set to **active**. Possible values: * **active**: the sweep is enabled and funds will be pulled in or pushed out based on the defined configuration. * **inactive**: the sweep is disabled and cannot be triggered. */ @@ -47,6 +55,11 @@ export class SweepConfigurationV2 { "baseName": "currency", "type": "string" }, + { + "name": "description", + "baseName": "description", + "type": "string" + }, { "name": "id", "baseName": "id", @@ -55,7 +68,7 @@ export class SweepConfigurationV2 { { "name": "schedule", "baseName": "schedule", - "type": "SweepSchedule" + "type": "CronSweepSchedule | SweepSchedule" }, { "name": "status", diff --git a/src/typings/balancePlatform/sweepSchedule.ts b/src/typings/balancePlatform/sweepSchedule.ts index 64dca05..425b367 100644 --- a/src/typings/balancePlatform/sweepSchedule.ts +++ b/src/typings/balancePlatform/sweepSchedule.ts @@ -10,7 +10,7 @@ export class SweepSchedule { /** - * The schedule type. Possible values: * **daily**: push out funds daily at 07:00 AM CET. * **weekly**: push out funds every Monday at 07:00 AM CET. * **monthly**: push out funds every first of the month at 07:00 AM CET. * **balance**: pull in funds instantly if the balance is less than or equal to the `triggerAmount`. You can only use this for sweeps of `type` **pull** and when the source is a `merchantAccount` or `transferInstrument`. + * The schedule type. Possible values: * **cron**: push out funds based on a cron expression. * **daily**: push out funds daily at 07:00 AM CET. * **weekly**: push out funds every Monday at 07:00 AM CET. * **monthly**: push out funds every first of the month at 07:00 AM CET. * **balance**: pull in funds instantly if the balance is less than or equal to the `triggerAmount`. You can only use this for sweeps of `type` **pull** and when the source is a `merchantAccount` or `transferInstrument`. */ 'type'?: SweepSchedule.TypeEnum; @@ -33,6 +33,7 @@ export namespace SweepSchedule { Daily = 'daily', Weekly = 'weekly', Monthly = 'monthly', - Balance = 'balance' + Balance = 'balance', + Cron = 'cron' } } diff --git a/src/typings/balancePlatform/transactionRule.ts b/src/typings/balancePlatform/transactionRule.ts index 9bb3054..ba258b9 100644 --- a/src/typings/balancePlatform/transactionRule.ts +++ b/src/typings/balancePlatform/transactionRule.ts @@ -52,7 +52,7 @@ export class TransactionRule { */ 'status'?: TransactionRule.StatusEnum; /** - * The [type of rule](https://docs.adyen.com/issuing/transaction-rules#rule-types), which definesif a rule blocks transactions based on individual characteristics or accumulates data. Possible values: * **blockList**: decline a transaction when the conditions are met. * **maxUsage**: add the amount or number of transactions for the lifetime of a payment instrument, and then decline a transaction when the specified limits are met. * **velocity**: add the amount or number of transactions based on a specified time interval, and then decline a transaction when the specified limits are met. + * The [type of rule](https://docs.adyen.com/issuing/transaction-rules#rule-types), which defines if a rule blocks transactions based on individual characteristics or accumulates data. Possible values: * **blockList**: decline a transaction when the conditions are met. * **maxUsage**: add the amount or number of transactions for the lifetime of a payment instrument, and then decline a transaction when the specified limits are met. * **velocity**: add the amount or number of transactions based on a specified time interval, and then decline a transaction when the specified limits are met. */ 'type': TransactionRule.TypeEnum; diff --git a/src/typings/balancePlatform/transactionRuleInfo.ts b/src/typings/balancePlatform/transactionRuleInfo.ts index 8199017..3a8045c 100644 --- a/src/typings/balancePlatform/transactionRuleInfo.ts +++ b/src/typings/balancePlatform/transactionRuleInfo.ts @@ -48,7 +48,7 @@ export class TransactionRuleInfo { */ 'status'?: TransactionRuleInfo.StatusEnum; /** - * The [type of rule](https://docs.adyen.com/issuing/transaction-rules#rule-types), which definesif a rule blocks transactions based on individual characteristics or accumulates data. Possible values: * **blockList**: decline a transaction when the conditions are met. * **maxUsage**: add the amount or number of transactions for the lifetime of a payment instrument, and then decline a transaction when the specified limits are met. * **velocity**: add the amount or number of transactions based on a specified time interval, and then decline a transaction when the specified limits are met. + * The [type of rule](https://docs.adyen.com/issuing/transaction-rules#rule-types), which defines if a rule blocks transactions based on individual characteristics or accumulates data. Possible values: * **blockList**: decline a transaction when the conditions are met. * **maxUsage**: add the amount or number of transactions for the lifetime of a payment instrument, and then decline a transaction when the specified limits are met. * **velocity**: add the amount or number of transactions based on a specified time interval, and then decline a transaction when the specified limits are met. */ 'type': TransactionRuleInfo.TypeEnum; diff --git a/src/typings/binlookup/serviceError.ts b/src/typings/binlookup/serviceError.ts index ecd1397..cc25b6f 100644 --- a/src/typings/binlookup/serviceError.ts +++ b/src/typings/binlookup/serviceError.ts @@ -10,7 +10,7 @@ export class ServiceError { /** - * Contains additional information about the payment. Some data fields are included only if you select them first: Go to **Customer Area** > **Account** > **API URLs**. + * Contains additional information about the payment. Some data fields are included only if you select them first. Go to **Customer Area** > **Developers** > **Additional data**. */ 'additionalData'?: { [key: string]: string; }; /** diff --git a/src/typings/checkout/applePaySessionResponse.ts b/src/typings/checkout/applePaySessionResponse.ts index ebf298e..be392bc 100644 --- a/src/typings/checkout/applePaySessionResponse.ts +++ b/src/typings/checkout/applePaySessionResponse.ts @@ -10,7 +10,7 @@ export class ApplePaySessionResponse { /** - * Base64 encoded data you need to [complete the Apple Pay merchant vlaidation](https://docs.adyen.com/payment-methods/apple-pay/api-only?tab=adyen-certificate-validation_1#complete-apple-pay-session-validation). + * Base64 encoded data you need to [complete the Apple Pay merchant validation](https://docs.adyen.com/payment-methods/apple-pay/api-only?tab=adyen-certificate-validation_1#complete-apple-pay-session-validation). */ 'data': string; diff --git a/src/typings/checkout/checkoutBalanceCheckRequest.ts b/src/typings/checkout/checkoutBalanceCheckRequest.ts index f50b66f..dc8149b 100644 --- a/src/typings/checkout/checkoutBalanceCheckRequest.ts +++ b/src/typings/checkout/checkoutBalanceCheckRequest.ts @@ -130,11 +130,11 @@ export class CheckoutBalanceCheckRequest { */ 'socialSecurityNumber'?: string; /** - * An array of objects specifying how the payment should be split when using [Adyen for Platforms](https://docs.adyen.com/platforms/processing-payments#providing-split-information) or [Issuing](https://docs.adyen.com/issuing/manage-funds#split). + * An array of objects specifying how the payment should be split when using [Adyen for Platforms](https://docs.adyen.com/marketplaces-and-platforms/processing-payments#providing-split-information) or [Issuing](https://docs.adyen.com/issuing/add-manage-funds#split). */ 'splits'?: Array; /** - * The ecommerce or point-of-sale store that is processing the payment. Used in [partner arrangement integrations](https://docs.adyen.com/platforms/platforms-for-partners#route-payments) for Adyen for Platforms. + * The ecommerce or point-of-sale store that is processing the payment. Used in [partner model integrations](https://docs.adyen.com/marketplaces-and-platforms/classic/platforms-for-partners#route-payments) for Adyen for Platforms. */ 'store'?: string; /** diff --git a/src/typings/checkout/checkoutBankTransferAction.ts b/src/typings/checkout/checkoutBankTransferAction.ts deleted file mode 100644 index e055ba5..0000000 --- a/src/typings/checkout/checkoutBankTransferAction.ts +++ /dev/null @@ -1,114 +0,0 @@ -/* - * The version of the OpenAPI document: v69 - * Contact: developer-experience@adyen.com - * - * 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 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 e-mail of the shopper, included if an e-mail was sent to the shopper. - */ - 'shopperEmail'?: 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": "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": "shopperEmail", - "baseName": "shopperEmail", - "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/checkoutDonationAction.ts b/src/typings/checkout/checkoutDonationAction.ts deleted file mode 100644 index 9282f24..0000000 --- a/src/typings/checkout/checkoutDonationAction.ts +++ /dev/null @@ -1,62 +0,0 @@ -/* - * The version of the OpenAPI document: v69 - * Contact: developer-experience@adyen.com - * - * 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 CheckoutDonationAction { - /** - * A value that must be submitted to the `/payments/details` endpoint to verify this payment. - */ - 'paymentData'?: string; - /** - * Specifies the payment method. - */ - 'paymentMethodType'?: string; - /** - * The type of the action. - */ - 'type': CheckoutDonationAction.TypeEnum; - /** - * Specifies the URL to redirect to. - */ - 'url'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "paymentData", - "baseName": "paymentData", - "type": "string" - }, - { - "name": "paymentMethodType", - "baseName": "paymentMethodType", - "type": "string" - }, - { - "name": "type", - "baseName": "type", - "type": "CheckoutDonationAction.TypeEnum" - }, - { - "name": "url", - "baseName": "url", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return CheckoutDonationAction.attributeTypeMap; - } -} - -export namespace CheckoutDonationAction { - export enum TypeEnum { - Donate = 'donate' - } -} diff --git a/src/typings/checkout/checkoutOneTimePasscodeAction.ts b/src/typings/checkout/checkoutOneTimePasscodeAction.ts deleted file mode 100644 index c672617..0000000 --- a/src/typings/checkout/checkoutOneTimePasscodeAction.ts +++ /dev/null @@ -1,96 +0,0 @@ -/* - * The version of the OpenAPI document: v69 - * Contact: developer-experience@adyen.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit this class manually. - */ - -import { Redirect } from './redirect'; - -export class CheckoutOneTimePasscodeAction { - /** - * A value that must be submitted to the `/payments/details` endpoint to verify this payment. - */ - 'paymentData'?: string; - /** - * Specifies the payment method. - */ - 'paymentMethodType'?: string; - 'redirect'?: Redirect; - /** - * The interval in second between OTP resend. - */ - 'resendInterval'?: number; - /** - * The maximum number of OTP resend attempts. - */ - 'resendMaxAttempts'?: number; - /** - * The URL, to which you make POST request to trigger OTP resend. - */ - 'resendUrl'?: string; - /** - * The type of the action. - */ - 'type': CheckoutOneTimePasscodeAction.TypeEnum; - /** - * Specifies the URL to redirect to. - */ - 'url'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "paymentData", - "baseName": "paymentData", - "type": "string" - }, - { - "name": "paymentMethodType", - "baseName": "paymentMethodType", - "type": "string" - }, - { - "name": "redirect", - "baseName": "redirect", - "type": "Redirect" - }, - { - "name": "resendInterval", - "baseName": "resendInterval", - "type": "number" - }, - { - "name": "resendMaxAttempts", - "baseName": "resendMaxAttempts", - "type": "number" - }, - { - "name": "resendUrl", - "baseName": "resendUrl", - "type": "string" - }, - { - "name": "type", - "baseName": "type", - "type": "CheckoutOneTimePasscodeAction.TypeEnum" - }, - { - "name": "url", - "baseName": "url", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return CheckoutOneTimePasscodeAction.attributeTypeMap; - } -} - -export namespace CheckoutOneTimePasscodeAction { - export enum TypeEnum { - OneTimePasscode = 'oneTimePasscode' - } -} diff --git a/src/typings/checkout/createPaymentAmountUpdateRequest.ts b/src/typings/checkout/createPaymentAmountUpdateRequest.ts index 046be86..7754893 100644 --- a/src/typings/checkout/createPaymentAmountUpdateRequest.ts +++ b/src/typings/checkout/createPaymentAmountUpdateRequest.ts @@ -25,7 +25,7 @@ export class CreatePaymentAmountUpdateRequest { */ 'reference'?: string; /** - * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For details, refer to [Providing split information](https://docs.adyen.com/platforms/processing-payments#providing-split-information). + * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For details, refer to [Providing split information](https://docs.adyen.com/marketplaces-and-platforms/processing-payments#providing-split-information). */ 'splits'?: Array; diff --git a/src/typings/checkout/createPaymentCaptureRequest.ts b/src/typings/checkout/createPaymentCaptureRequest.ts index 3c948de..bc3d1e9 100644 --- a/src/typings/checkout/createPaymentCaptureRequest.ts +++ b/src/typings/checkout/createPaymentCaptureRequest.ts @@ -26,7 +26,7 @@ export class CreatePaymentCaptureRequest { */ 'reference'?: string; /** - * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For details, refer to [Providing split information](https://docs.adyen.com/platforms/processing-payments#providing-split-information). + * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For details, refer to [Providing split information](https://docs.adyen.com/marketplaces-and-platforms/processing-payments#providing-split-information). */ 'splits'?: Array; diff --git a/src/typings/checkout/createPaymentLinkRequest.ts b/src/typings/checkout/createPaymentLinkRequest.ts index 6bd8179..9a0e855 100644 --- a/src/typings/checkout/createPaymentLinkRequest.ts +++ b/src/typings/checkout/createPaymentLinkRequest.ts @@ -124,7 +124,7 @@ export class CreatePaymentLinkRequest { */ 'splitCardFundingSources'?: boolean; /** - * An array of objects specifying how the payment should be split between accounts when using Adyen for Platforms. For details, refer to [Providing split information](https://docs.adyen.com/platforms/processing-payments#providing-split-information). + * An array of objects specifying how the payment should be split between accounts when using Adyen for Platforms. For details, refer to [Providing split information](https://docs.adyen.com/marketplaces-and-platforms/processing-payments#providing-split-information). */ 'splits'?: Array; /** @@ -140,7 +140,7 @@ export class CreatePaymentLinkRequest { */ 'telephoneNumber'?: string; /** - * A [theme](https://docs.adyen.com/unified-commerce/pay-by-link/api#themes) to customize the appearance of the payment page. If not specified, the payment page is rendered according to the theme set as default in your Customer Area. + * A [theme](https://docs.adyen.com/unified-commerce/pay-by-link/payment-links/api#themes) to customize the appearance of the payment page. If not specified, the payment page is rendered according to the theme set as default in your Customer Area. */ 'themeId'?: string; diff --git a/src/typings/checkout/createPaymentRefundRequest.ts b/src/typings/checkout/createPaymentRefundRequest.ts index 32db517..879e51d 100644 --- a/src/typings/checkout/createPaymentRefundRequest.ts +++ b/src/typings/checkout/createPaymentRefundRequest.ts @@ -26,7 +26,7 @@ export class CreatePaymentRefundRequest { */ 'reference'?: string; /** - * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For details, refer to [Providing split information](https://docs.adyen.com/platforms/processing-payments#providing-split-information). + * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For details, refer to [Providing split information](https://docs.adyen.com/marketplaces-and-platforms/processing-payments#providing-split-information). */ 'splits'?: Array; diff --git a/src/typings/checkout/models.ts b/src/typings/checkout/models.ts index ad79319..0c65d5c 100644 --- a/src/typings/checkout/models.ts +++ b/src/typings/checkout/models.ts @@ -50,13 +50,10 @@ export * from './cellulantDetails'; export * from './checkoutAwaitAction'; export * from './checkoutBalanceCheckRequest'; export * from './checkoutBalanceCheckResponse'; -export * from './checkoutBankTransferAction'; export * from './checkoutCancelOrderRequest'; export * from './checkoutCancelOrderResponse'; export * from './checkoutCreateOrderRequest'; export * from './checkoutCreateOrderResponse'; -export * from './checkoutDonationAction'; -export * from './checkoutOneTimePasscodeAction'; export * from './checkoutOrder'; export * from './checkoutOrderResponse'; export * from './checkoutQrCodeAction'; @@ -139,7 +136,6 @@ export * from './phone'; export * from './ratepayDetails'; export * from './recurring'; export * from './recurringDetail'; -export * from './redirect'; export * from './responseAdditionalData3DSecure'; export * from './responseAdditionalDataBillingAddress'; export * from './responseAdditionalDataCard'; @@ -223,13 +219,10 @@ import { CellulantDetails } from './cellulantDetails'; import { CheckoutAwaitAction } from './checkoutAwaitAction'; import { CheckoutBalanceCheckRequest } from './checkoutBalanceCheckRequest'; import { CheckoutBalanceCheckResponse } from './checkoutBalanceCheckResponse'; -import { CheckoutBankTransferAction } from './checkoutBankTransferAction'; import { CheckoutCancelOrderRequest } from './checkoutCancelOrderRequest'; import { CheckoutCancelOrderResponse } from './checkoutCancelOrderResponse'; import { CheckoutCreateOrderRequest } from './checkoutCreateOrderRequest'; import { CheckoutCreateOrderResponse } from './checkoutCreateOrderResponse'; -import { CheckoutDonationAction } from './checkoutDonationAction'; -import { CheckoutOneTimePasscodeAction } from './checkoutOneTimePasscodeAction'; import { CheckoutOrder } from './checkoutOrder'; import { CheckoutOrderResponse } from './checkoutOrderResponse'; import { CheckoutQrCodeAction } from './checkoutQrCodeAction'; @@ -312,7 +305,6 @@ import { Phone } from './phone'; import { RatepayDetails } from './ratepayDetails'; import { Recurring } from './recurring'; import { RecurringDetail } from './recurringDetail'; -import { Redirect } from './redirect'; import { ResponseAdditionalData3DSecure } from './responseAdditionalData3DSecure'; import { ResponseAdditionalDataBillingAddress } from './responseAdditionalDataBillingAddress'; import { ResponseAdditionalDataCard } from './responseAdditionalDataCard'; @@ -399,11 +391,8 @@ let enumsMap: {[index: string]: any} = { "CheckoutBalanceCheckRequest.RecurringProcessingModelEnum": CheckoutBalanceCheckRequest.RecurringProcessingModelEnum, "CheckoutBalanceCheckRequest.ShopperInteractionEnum": CheckoutBalanceCheckRequest.ShopperInteractionEnum, "CheckoutBalanceCheckResponse.ResultCodeEnum": CheckoutBalanceCheckResponse.ResultCodeEnum, - "CheckoutBankTransferAction.TypeEnum": CheckoutBankTransferAction.TypeEnum, "CheckoutCancelOrderResponse.ResultCodeEnum": CheckoutCancelOrderResponse.ResultCodeEnum, "CheckoutCreateOrderResponse.ResultCodeEnum": CheckoutCreateOrderResponse.ResultCodeEnum, - "CheckoutDonationAction.TypeEnum": CheckoutDonationAction.TypeEnum, - "CheckoutOneTimePasscodeAction.TypeEnum": CheckoutOneTimePasscodeAction.TypeEnum, "CheckoutQrCodeAction.TypeEnum": CheckoutQrCodeAction.TypeEnum, "CheckoutRedirectAction.TypeEnum": CheckoutRedirectAction.TypeEnum, "CheckoutSDKAction.TypeEnum": CheckoutSDKAction.TypeEnum, @@ -483,9 +472,7 @@ let enumsMap: {[index: string]: any} = { "Recurring.ContractEnum": Recurring.ContractEnum, "Recurring.TokenServiceEnum": Recurring.TokenServiceEnum, "RecurringDetail.FundingSourceEnum": RecurringDetail.FundingSourceEnum, - "Redirect.MethodEnum": Redirect.MethodEnum, "ResponseAdditionalDataCommon.FraudResultTypeEnum": ResponseAdditionalDataCommon.FraudResultTypeEnum, - "ResponseAdditionalDataCommon.MerchantAdviceCodeEnum": ResponseAdditionalDataCommon.MerchantAdviceCodeEnum, "ResponseAdditionalDataCommon.RecurringProcessingModelEnum": ResponseAdditionalDataCommon.RecurringProcessingModelEnum, "SamsungPayDetails.FundingSourceEnum": SamsungPayDetails.FundingSourceEnum, "SamsungPayDetails.TypeEnum": SamsungPayDetails.TypeEnum, @@ -567,13 +554,10 @@ let typeMap: {[index: string]: any} = { "CheckoutAwaitAction": CheckoutAwaitAction, "CheckoutBalanceCheckRequest": CheckoutBalanceCheckRequest, "CheckoutBalanceCheckResponse": CheckoutBalanceCheckResponse, - "CheckoutBankTransferAction": CheckoutBankTransferAction, "CheckoutCancelOrderRequest": CheckoutCancelOrderRequest, "CheckoutCancelOrderResponse": CheckoutCancelOrderResponse, "CheckoutCreateOrderRequest": CheckoutCreateOrderRequest, "CheckoutCreateOrderResponse": CheckoutCreateOrderResponse, - "CheckoutDonationAction": CheckoutDonationAction, - "CheckoutOneTimePasscodeAction": CheckoutOneTimePasscodeAction, "CheckoutOrder": CheckoutOrder, "CheckoutOrderResponse": CheckoutOrderResponse, "CheckoutQrCodeAction": CheckoutQrCodeAction, @@ -656,7 +640,6 @@ let typeMap: {[index: string]: any} = { "RatepayDetails": RatepayDetails, "Recurring": Recurring, "RecurringDetail": RecurringDetail, - "Redirect": Redirect, "ResponseAdditionalData3DSecure": ResponseAdditionalData3DSecure, "ResponseAdditionalDataBillingAddress": ResponseAdditionalDataBillingAddress, "ResponseAdditionalDataCard": ResponseAdditionalDataCard, diff --git a/src/typings/checkout/paymentAmountUpdateResource.ts b/src/typings/checkout/paymentAmountUpdateResource.ts index f81bdda..56d7615 100644 --- a/src/typings/checkout/paymentAmountUpdateResource.ts +++ b/src/typings/checkout/paymentAmountUpdateResource.ts @@ -33,7 +33,7 @@ export class PaymentAmountUpdateResource { */ 'reference': string; /** - * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For details, refer to [Providing split information](https://docs.adyen.com/platforms/processing-payments#providing-split-information). + * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For details, refer to [Providing split information](https://docs.adyen.com/marketplaces-and-platforms/processing-payments#providing-split-information). */ 'splits'?: Array; /** diff --git a/src/typings/checkout/paymentCaptureResource.ts b/src/typings/checkout/paymentCaptureResource.ts index a48b256..321fedb 100644 --- a/src/typings/checkout/paymentCaptureResource.ts +++ b/src/typings/checkout/paymentCaptureResource.ts @@ -34,7 +34,7 @@ export class PaymentCaptureResource { */ 'reference'?: string; /** - * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For details, refer to [Providing split information](https://docs.adyen.com/platforms/processing-payments#providing-split-information). + * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For details, refer to [Providing split information](https://docs.adyen.com/marketplaces-and-platforms/processing-payments#providing-split-information). */ 'splits'?: Array; /** diff --git a/src/typings/checkout/paymentDetails.ts b/src/typings/checkout/paymentDetails.ts index 44de03d..6e73703 100644 --- a/src/typings/checkout/paymentDetails.ts +++ b/src/typings/checkout/paymentDetails.ts @@ -61,6 +61,7 @@ export namespace PaymentDetails { MolpayEbankingVn = 'molpay_ebanking_VN', OnlineBankingPl = 'onlineBanking_PL', OpenbankingUk = 'openbanking_UK', + Paybybank = 'paybybank', EbankingFi = 'ebanking_FI', MolpayEbankingMy = 'molpay_ebanking_MY', MolpayEbankingDirectMy = 'molpay_ebanking_direct_MY', diff --git a/src/typings/checkout/paymentDonationRequest.ts b/src/typings/checkout/paymentDonationRequest.ts index db2a173..dabce82 100644 --- a/src/typings/checkout/paymentDonationRequest.ts +++ b/src/typings/checkout/paymentDonationRequest.ts @@ -243,11 +243,11 @@ export class PaymentDonationRequest { */ 'socialSecurityNumber'?: string; /** - * An array of objects specifying how the payment should be split when using [Adyen for Platforms](https://docs.adyen.com/platforms/processing-payments#providing-split-information) or [Issuing](https://docs.adyen.com/issuing/manage-funds#split). + * An array of objects specifying how the payment should be split when using [Adyen for Platforms](https://docs.adyen.com/marketplaces-and-platforms/processing-payments#providing-split-information) or [Issuing](https://docs.adyen.com/issuing/add-manage-funds#split). */ 'splits'?: Array; /** - * The ecommerce or point-of-sale store that is processing the payment. Used in [partner arrangement integrations](https://docs.adyen.com/platforms/platforms-for-partners#route-payments) for Adyen for Platforms. + * The ecommerce or point-of-sale store that is processing the payment. Used in [partner model integrations](https://docs.adyen.com/marketplaces-and-platforms/classic/platforms-for-partners#route-payments) for Adyen for Platforms. */ 'store'?: string; /** diff --git a/src/typings/checkout/paymentLinkResponse.ts b/src/typings/checkout/paymentLinkResponse.ts index 293fafa..13b86a2 100644 --- a/src/typings/checkout/paymentLinkResponse.ts +++ b/src/typings/checkout/paymentLinkResponse.ts @@ -128,7 +128,7 @@ export class PaymentLinkResponse { */ 'splitCardFundingSources'?: boolean; /** - * An array of objects specifying how the payment should be split between accounts when using Adyen for Platforms. For details, refer to [Providing split information](https://docs.adyen.com/platforms/processing-payments#providing-split-information). + * An array of objects specifying how the payment should be split between accounts when using Adyen for Platforms. For details, refer to [Providing split information](https://docs.adyen.com/marketplaces-and-platforms/processing-payments#providing-split-information). */ 'splits'?: Array; /** @@ -148,7 +148,7 @@ export class PaymentLinkResponse { */ 'telephoneNumber'?: string; /** - * A [theme](https://docs.adyen.com/unified-commerce/pay-by-link/api#themes) to customize the appearance of the payment page. If not specified, the payment page is rendered according to the theme set as default in your Customer Area. + * A [theme](https://docs.adyen.com/unified-commerce/pay-by-link/payment-links/api#themes) to customize the appearance of the payment page. If not specified, the payment page is rendered according to the theme set as default in your Customer Area. */ 'themeId'?: string; /** diff --git a/src/typings/checkout/paymentMethodsRequest.ts b/src/typings/checkout/paymentMethodsRequest.ts index 49e734e..dd5deb8 100644 --- a/src/typings/checkout/paymentMethodsRequest.ts +++ b/src/typings/checkout/paymentMethodsRequest.ts @@ -50,7 +50,7 @@ export class PaymentMethodsRequest { */ 'splitCardFundingSources'?: boolean; /** - * The ecommerce or point-of-sale store that is processing the payment. Used in [partner arrangement integrations](https://docs.adyen.com/platforms/platforms-for-partners#route-payments) for Adyen for Platforms. + * The ecommerce or point-of-sale store that is processing the payment. Used in [partner model integrations](https://docs.adyen.com/marketplaces-and-platforms/classic/platforms-for-partners#route-payments) for Adyen for Platforms. */ 'store'?: string; diff --git a/src/typings/checkout/paymentRefundResource.ts b/src/typings/checkout/paymentRefundResource.ts index c05ab84..0a21ea8 100644 --- a/src/typings/checkout/paymentRefundResource.ts +++ b/src/typings/checkout/paymentRefundResource.ts @@ -34,7 +34,7 @@ export class PaymentRefundResource { */ 'reference'?: string; /** - * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For details, refer to [Providing split information](https://docs.adyen.com/platforms/processing-payments#providing-split-information). + * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For details, refer to [Providing split information](https://docs.adyen.com/marketplaces-and-platforms/processing-payments#providing-split-information). */ 'splits'?: Array; /** diff --git a/src/typings/checkout/paymentRequest.ts b/src/typings/checkout/paymentRequest.ts index 0c60e10..796f4a6 100644 --- a/src/typings/checkout/paymentRequest.ts +++ b/src/typings/checkout/paymentRequest.ts @@ -231,11 +231,11 @@ export class PaymentRequest { */ 'socialSecurityNumber'?: string; /** - * An array of objects specifying how the payment should be split when using [Adyen for Platforms](https://docs.adyen.com/platforms/processing-payments#providing-split-information) or [Issuing](https://docs.adyen.com/issuing/manage-funds#split). + * An array of objects specifying how the payment should be split when using [Adyen for Platforms](https://docs.adyen.com/marketplaces-and-platforms/processing-payments#providing-split-information) or [Issuing](https://docs.adyen.com/issuing/add-manage-funds#split). */ 'splits'?: Array; /** - * The ecommerce or point-of-sale store that is processing the payment. Used in [partner arrangement integrations](https://docs.adyen.com/platforms/platforms-for-partners#route-payments) for Adyen for Platforms. + * The ecommerce or point-of-sale store that is processing the payment. Used in [partner model integrations](https://docs.adyen.com/marketplaces-and-platforms/classic/platforms-for-partners#route-payments) for Adyen for Platforms. */ 'store'?: string; /** diff --git a/src/typings/checkout/paymentResponse.ts b/src/typings/checkout/paymentResponse.ts index e4995e5..c938cd0 100644 --- a/src/typings/checkout/paymentResponse.ts +++ b/src/typings/checkout/paymentResponse.ts @@ -9,9 +9,6 @@ import { Amount } from './amount'; import { CheckoutAwaitAction } from './checkoutAwaitAction'; -import { CheckoutBankTransferAction } from './checkoutBankTransferAction'; -import { CheckoutDonationAction } from './checkoutDonationAction'; -import { CheckoutOneTimePasscodeAction } from './checkoutOneTimePasscodeAction'; import { CheckoutOrderResponse } from './checkoutOrderResponse'; import { CheckoutQrCodeAction } from './checkoutQrCodeAction'; import { CheckoutRedirectAction } from './checkoutRedirectAction'; @@ -27,7 +24,7 @@ export class PaymentResponse { /** * Action to be taken for completing the payment. */ - 'action'?: CheckoutAwaitAction | CheckoutBankTransferAction | CheckoutDonationAction | CheckoutOneTimePasscodeAction | CheckoutQrCodeAction | CheckoutRedirectAction | CheckoutSDKAction | CheckoutThreeDS2Action | CheckoutVoucherAction; + 'action'?: CheckoutAwaitAction | CheckoutQrCodeAction | CheckoutRedirectAction | CheckoutSDKAction | CheckoutThreeDS2Action | CheckoutVoucherAction; /** * Contains additional information about the payment. Some data fields are included only if you select them first: Go to **Customer Area** > **Developers** > **Additional data**. */ @@ -73,7 +70,7 @@ export class PaymentResponse { { "name": "action", "baseName": "action", - "type": "CheckoutAwaitAction | CheckoutBankTransferAction | CheckoutDonationAction | CheckoutOneTimePasscodeAction | CheckoutQrCodeAction | CheckoutRedirectAction | CheckoutSDKAction | CheckoutThreeDS2Action | CheckoutVoucherAction" + "type": "CheckoutAwaitAction | CheckoutQrCodeAction | CheckoutRedirectAction | CheckoutSDKAction | CheckoutThreeDS2Action | CheckoutVoucherAction" }, { "name": "additionalData", diff --git a/src/typings/checkout/paymentSetupRequest.ts b/src/typings/checkout/paymentSetupRequest.ts index 21ebaad..270ba8f 100644 --- a/src/typings/checkout/paymentSetupRequest.ts +++ b/src/typings/checkout/paymentSetupRequest.ts @@ -173,11 +173,11 @@ export class PaymentSetupRequest { */ 'socialSecurityNumber'?: string; /** - * An array of objects specifying how the payment should be split when using [Adyen for Platforms](https://docs.adyen.com/platforms/processing-payments#providing-split-information) or [Issuing](https://docs.adyen.com/issuing/manage-funds#split). + * An array of objects specifying how the payment should be split when using [Adyen for Platforms](https://docs.adyen.com/marketplaces-and-platforms/processing-payments#providing-split-information) or [Issuing](https://docs.adyen.com/issuing/add-manage-funds#split). */ 'splits'?: Array; /** - * The ecommerce or point-of-sale store that is processing the payment. Used in [partner arrangement integrations](https://docs.adyen.com/platforms/platforms-for-partners#route-payments) for Adyen for Platforms. + * The ecommerce or point-of-sale store that is processing the payment. Used in [partner model integrations](https://docs.adyen.com/marketplaces-and-platforms/classic/platforms-for-partners#route-payments) for Adyen for Platforms. */ 'store'?: string; /** diff --git a/src/typings/checkout/redirect.ts b/src/typings/checkout/redirect.ts deleted file mode 100644 index cc114e0..0000000 --- a/src/typings/checkout/redirect.ts +++ /dev/null @@ -1,54 +0,0 @@ -/* - * The version of the OpenAPI document: v69 - * Contact: developer-experience@adyen.com - * - * 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 Redirect { - /** - * When the redirect URL must be accessed via POST, use this data to post to the redirect URL. - */ - 'data'?: { [key: string]: string; }; - /** - * The web method that you must use to access the redirect URL. Possible values: GET, POST. - */ - 'method'?: Redirect.MethodEnum; - /** - * The URL, to which you must redirect a shopper to complete a payment. - */ - 'url'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "data", - "baseName": "data", - "type": "{ [key: string]: string; }" - }, - { - "name": "method", - "baseName": "method", - "type": "Redirect.MethodEnum" - }, - { - "name": "url", - "baseName": "url", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return Redirect.attributeTypeMap; - } -} - -export namespace Redirect { - export enum MethodEnum { - Get = 'GET', - Post = 'POST' - } -} diff --git a/src/typings/checkout/responseAdditionalDataCommon.ts b/src/typings/checkout/responseAdditionalDataCommon.ts index 17d6611..3ff333f 100644 --- a/src/typings/checkout/responseAdditionalDataCommon.ts +++ b/src/typings/checkout/responseAdditionalDataCommon.ts @@ -130,9 +130,9 @@ export class ResponseAdditionalDataCommon { */ 'mcBankNetReferenceNumber'?: string; /** - * A code and message that issuers send to provide more details about the payment. This field is especially useful when implementing a retry logic for declined payments. Possible values: * **01: New account information available** * **02: Cannot approve at this time, try again later** * **03: Do not try again** * **04: Token requirements not fulfilled for this token type** * **21: Payment Cancellation** (only for Mastercard) + * The Merchant Advice Code (MAC) can be returned by Mastercard issuers for refused payments. If present, the MAC contains information about why the payment failed, and whether it can be retried. For more information see [Mastercard Merchant Advice Codes](https://docs.adyen.com/development-resources/raw-acquirer-responses#mastercard-merchant-advice-codes). */ - 'merchantAdviceCode'?: ResponseAdditionalDataCommon.MerchantAdviceCodeEnum; + 'merchantAdviceCode'?: string; /** * The reference provided for the transaction. */ @@ -402,7 +402,7 @@ export class ResponseAdditionalDataCommon { { "name": "merchantAdviceCode", "baseName": "merchantAdviceCode", - "type": "ResponseAdditionalDataCommon.MerchantAdviceCodeEnum" + "type": "string" }, { "name": "merchantReference", @@ -555,13 +555,6 @@ export namespace ResponseAdditionalDataCommon { Green = 'GREEN', Fraud = 'FRAUD' } - export enum MerchantAdviceCodeEnum { - _01NewAccountInformationAvailable = '01: New account information available', - _02CannotApproveAtThisTimeTryAgainLater = '02: Cannot approve at this time, try again later', - _03DoNotTryAgain = '03: Do not try again', - _04TokenRequirementsNotFulfilledForThisTokenType = '04: Token requirements not fulfilled for this token type', - _21PaymentCancellation = '21: Payment Cancellation' - } export enum RecurringProcessingModelEnum { CardOnFile = 'CardOnFile', Subscription = 'Subscription', diff --git a/src/typings/checkout/responsePaymentMethod.ts b/src/typings/checkout/responsePaymentMethod.ts index 4128d0d..ad27c35 100644 --- a/src/typings/checkout/responsePaymentMethod.ts +++ b/src/typings/checkout/responsePaymentMethod.ts @@ -10,11 +10,11 @@ export class ResponsePaymentMethod { /** - * The payment method brand. + * The card brand that the shopper used to pay. Only returned if `paymentMethod.type` is **scheme**. */ 'brand'?: string; /** - * The payment method type. + * The `paymentMethod.type` value used in the request. */ 'type'?: string; diff --git a/src/typings/checkout/serviceError.ts b/src/typings/checkout/serviceError.ts index 4417801..f81928b 100644 --- a/src/typings/checkout/serviceError.ts +++ b/src/typings/checkout/serviceError.ts @@ -10,7 +10,7 @@ export class ServiceError { /** - * Contains additional information about the payment. Some data fields are included only if you select them first: Go to **Customer Area** > **Account** > **API URLs**. + * Contains additional information about the payment. Some data fields are included only if you select them first. Go to **Customer Area** > **Developers** > **Additional data**. */ 'additionalData'?: { [key: string]: string; }; /** diff --git a/src/typings/legalEntityManagement/document.ts b/src/typings/legalEntityManagement/document.ts index 02dcc56..1c0a47b 100644 --- a/src/typings/legalEntityManagement/document.ts +++ b/src/typings/legalEntityManagement/document.ts @@ -46,7 +46,7 @@ export class Document { 'number'?: string; 'owner': OwnerEntity; /** - * Type of document, used when providing an ID number or uploading a document. The possible values depend on the legal entity type. When providing ID numbers: * For **individual**, the `type` values can be **driversLicense**, **identityCard**, **nationalIdNumber**, or **passport**. When uploading documents: * For **organization**, the `type` values can be **proofOfAddress**, **registrationDocument**, **vatDocument**, **proofOfOrganizationTaxInfo**, or **proofOfIndustry**. * For **individual**, the `type` values can be **identityCard**, **driversLicense**, **passport**, **proofOfNationalIdNumber**, **proofOfResidency**, **proofOfIndustry**, or **proofOfIndividualTaxId**. * For **soleProprietorship**, the `type` values can be **constitutionalDocument**, **proofOfAddress**, or **proofOfIndustry**. * Use **bankStatement** to upload documents for a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id). + * Type of document, used when providing an ID number or uploading a document. The possible values depend on the legal entity type. When providing ID numbers: * For **individual**, the `type` values can be **driversLicense**, **identityCard**, **nationalIdNumber**, or **passport**. When uploading documents: * For **organization**, the `type` values can be **proofOfAddress**, **registrationDocument**, **vatDocument**, **proofOfOrganizationTaxInfo**, **proofOfOwnership**, or **proofOfIndustry**. * For **individual**, the `type` values can be **identityCard**, **driversLicense**, **passport**, **proofOfNationalIdNumber**, **proofOfResidency**, **proofOfIndustry**, or **proofOfIndividualTaxId**. * For **soleProprietorship**, the `type` values can be **constitutionalDocument**, **proofOfAddress**, or **proofOfIndustry**. * Use **bankStatement** to upload documents for a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id). */ 'type': Document.TypeEnum; diff --git a/src/typings/legalEntityManagement/identificationData.ts b/src/typings/legalEntityManagement/identificationData.ts index dff5a07..1d2687a 100644 --- a/src/typings/legalEntityManagement/identificationData.ts +++ b/src/typings/legalEntityManagement/identificationData.ts @@ -30,7 +30,7 @@ export class IdentificationData { */ 'number'?: string; /** - * Type of document, used when providing an ID number or uploading a document. The possible values depend on the legal entity type. When providing ID numbers: * For **individual**, the `type` values can be **driversLicense**, **identityCard**, **nationalIdNumber**, or **passport**. When uploading documents: * For **organization**, the `type` values can be **proofOfAddress**, **registrationDocument**, **vatDocument**, **proofOfOrganizationTaxInfo**, or **proofOfIndustry**. * For **individual**, the `type` values can be **identityCard**, **driversLicense**, **passport**, **proofOfNationalIdNumber**, **proofOfResidency**, **proofOfIndustry**, or **proofOfIndividualTaxId**. * For **soleProprietorship**, the `type` values can be **constitutionalDocument**, **proofOfAddress**, or **proofOfIndustry**. * Use **bankStatement** to upload documents for a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id). + * Type of document, used when providing an ID number or uploading a document. The possible values depend on the legal entity type. When providing ID numbers: * For **individual**, the `type` values can be **driversLicense**, **identityCard**, **nationalIdNumber**, or **passport**. When uploading documents: * For **organization**, the `type` values can be **proofOfAddress**, **registrationDocument**, **vatDocument**, **proofOfOrganizationTaxInfo**, **proofOfOwnership**, or **proofOfIndustry**. * For **individual**, the `type` values can be **identityCard**, **driversLicense**, **passport**, **proofOfNationalIdNumber**, **proofOfResidency**, **proofOfIndustry**, or **proofOfIndividualTaxId**. * For **soleProprietorship**, the `type` values can be **constitutionalDocument**, **proofOfAddress**, or **proofOfIndustry**. * Use **bankStatement** to upload documents for a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id). */ 'type': IdentificationData.TypeEnum; diff --git a/src/typings/legalEntityManagement/individual.ts b/src/typings/legalEntityManagement/individual.ts index 681d867..ae84287 100644 --- a/src/typings/legalEntityManagement/individual.ts +++ b/src/typings/legalEntityManagement/individual.ts @@ -30,7 +30,7 @@ export class Individual { 'phone'?: PhoneNumber; 'residentialAddress': Address; /** - * The tax information of the organization. + * The tax information of the individual. */ 'taxInformation'?: Array; 'webData'?: WebData; diff --git a/src/typings/legalEntityManagement/onboardingThemes.ts b/src/typings/legalEntityManagement/onboardingThemes.ts index de089f7..f464295 100644 --- a/src/typings/legalEntityManagement/onboardingThemes.ts +++ b/src/typings/legalEntityManagement/onboardingThemes.ts @@ -18,6 +18,9 @@ export class OnboardingThemes { * The previous page. Only present if there is a previous page. */ 'previous'?: string; + /** + * List of onboarding themes. + */ 'themes': Array; static discriminator: string | undefined = undefined; diff --git a/src/typings/legalEntityManagement/organization.ts b/src/typings/legalEntityManagement/organization.ts index 4319694..43237f1 100644 --- a/src/typings/legalEntityManagement/organization.ts +++ b/src/typings/legalEntityManagement/organization.ts @@ -47,7 +47,7 @@ export class Organization { /** * Type of organization. Possible values: **associationIncorporated**, **governmentalOrganization**, **listedPublicCompany**, **nonProfit**, **partnershipIncorporated**, **privateCompany**. */ - 'type': Organization.TypeEnum; + 'type'?: Organization.TypeEnum; /** * The reason the organization has not provided a VAT number. Possible values: **industryExemption**, **belowTaxThreshold**. */ diff --git a/src/typings/legalEntityManagement/soleProprietorship.ts b/src/typings/legalEntityManagement/soleProprietorship.ts index f174c15..42cb724 100644 --- a/src/typings/legalEntityManagement/soleProprietorship.ts +++ b/src/typings/legalEntityManagement/soleProprietorship.ts @@ -13,7 +13,7 @@ export class SoleProprietorship { /** * The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code of the governing country. */ - 'countryOfGoverningLaw'?: string; + 'countryOfGoverningLaw': string; /** * The registered name, if different from the `name`. */ diff --git a/src/typings/legalEntityManagement/taxInformation.ts b/src/typings/legalEntityManagement/taxInformation.ts index 0be59ea..3c7eb5f 100644 --- a/src/typings/legalEntityManagement/taxInformation.ts +++ b/src/typings/legalEntityManagement/taxInformation.ts @@ -14,7 +14,7 @@ export class TaxInformation { */ 'country'?: string; /** - * The organization\'s tax ID number (TIN). + * The tax ID number (TIN) of the organization or individual. */ 'number'?: string; /** diff --git a/src/typings/management/companyApiCredential.ts b/src/typings/management/companyApiCredential.ts index f53ba65..15fabf4 100644 --- a/src/typings/management/companyApiCredential.ts +++ b/src/typings/management/companyApiCredential.ts @@ -25,7 +25,7 @@ export class CompanyApiCredential { */ 'allowedOrigins'?: Array; /** - * List of merchant accounts that the API credential has access to. + * List of merchant accounts that the API credential has explicit access to. If the credential has access to a company, this implies access to all merchant accounts and no merchants for that company will be included. */ 'associatedMerchantAccounts'?: Array; /** diff --git a/src/typings/management/createCompanyWebhookRequest.ts b/src/typings/management/createCompanyWebhookRequest.ts index e03ea96..24293a0 100644 --- a/src/typings/management/createCompanyWebhookRequest.ts +++ b/src/typings/management/createCompanyWebhookRequest.ts @@ -56,7 +56,7 @@ export class CreateCompanyWebhookRequest { */ 'populateSoapActionHeader'?: boolean; /** - * SSL version to access the public webhook URL specified in the `url` field. Possible values: * **TLSv1.2** * **HTTP** - Only allowed on Test environment. If not specified, the webhook will use `sslVersion`: **TLSv1.2**. + * SSL version to access the public webhook URL specified in the `url` field. Possible values: * **TLSv1.3** * **TLSv1.2** * **HTTP** - Only allowed on Test environment. If not specified, the webhook will use `sslVersion`: **TLSv1.2**. */ 'sslVersion'?: CreateCompanyWebhookRequest.SslVersionEnum; /** @@ -185,6 +185,7 @@ export namespace CreateCompanyWebhookRequest { Tlsv1 = 'TLSV1', Tlsv11 = 'TLSV1_1', Tlsv12 = 'TLSV1_2', + Tlsv13 = 'TLSV1_3', Tlsv1InsecureCiphers = 'TLSV1_INSECURE_CIPHERS' } } diff --git a/src/typings/management/createMerchantWebhookRequest.ts b/src/typings/management/createMerchantWebhookRequest.ts index 0c4bad9..a5e5387 100644 --- a/src/typings/management/createMerchantWebhookRequest.ts +++ b/src/typings/management/createMerchantWebhookRequest.ts @@ -48,7 +48,7 @@ export class CreateMerchantWebhookRequest { */ 'populateSoapActionHeader'?: boolean; /** - * SSL version to access the public webhook URL specified in the `url` field. Possible values: * **TLSv1.2** * **HTTP** - Only allowed on Test environment. If not specified, the webhook will use `sslVersion`: **TLSv1.2**. + * SSL version to access the public webhook URL specified in the `url` field. Possible values: * **TLSv1.3** * **TLSv1.2** * **HTTP** - Only allowed on Test environment. If not specified, the webhook will use `sslVersion`: **TLSv1.2**. */ 'sslVersion'?: CreateMerchantWebhookRequest.SslVersionEnum; /** @@ -162,6 +162,7 @@ export namespace CreateMerchantWebhookRequest { Tlsv1 = 'TLSV1', Tlsv11 = 'TLSV1_1', Tlsv12 = 'TLSV1_2', + Tlsv13 = 'TLSV1_3', Tlsv1InsecureCiphers = 'TLSV1_INSECURE_CIPHERS' } } diff --git a/src/typings/management/currency.ts b/src/typings/management/currency.ts index 63c2e67..62d19f1 100644 --- a/src/typings/management/currency.ts +++ b/src/typings/management/currency.ts @@ -10,17 +10,14 @@ export class Currency { /** - * Surcharge amount per transaction, in minor units. + * Surcharge amount per transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). */ 'amount'?: number; /** * Three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). For example, **AUD**. */ 'currencyCode': string; - /** - * Surcharge percentage per transaction. The maximum number of decimal places is two. For example, **1%** or **2.27%**. - */ - 'percentage'?: number; + 'percentage'?: any; static discriminator: string | undefined = undefined; @@ -38,7 +35,7 @@ export class Currency { { "name": "percentage", "baseName": "percentage", - "type": "number" + "type": "any" } ]; static getAttributeTypeMap() { diff --git a/src/typings/management/gratuity.ts b/src/typings/management/gratuity.ts index bcb2df3..04c5fb0 100644 --- a/src/typings/management/gratuity.ts +++ b/src/typings/management/gratuity.ts @@ -18,7 +18,7 @@ export class Gratuity { */ 'currency'?: string; /** - * Tipping options the shopper can choose from if `usePredefinedTipEntries` is **true**. The maximum number of predefined options is four, or three plus the option to enter a custom tip. The options can be a mix of: - A percentage of the transaction amount. Example: **5%** - A tip amount in minor units. Example: **500** for a EUR 5 tip. + * Tipping options the shopper can choose from if `usePredefinedTipEntries` is **true**. The maximum number of predefined options is four, or three plus the option to enter a custom tip. The options can be a mix of: - A percentage of the transaction amount. Example: **5%** - A tip amount in [minor units](https://docs.adyen.com/development-resources/currency-codes). Example: **500** for a EUR 5 tip. */ 'predefinedTipEntries'?: Array; /** diff --git a/src/typings/management/listStoresResponse.ts b/src/typings/management/listStoresResponse.ts index 4e793f8..8762b66 100644 --- a/src/typings/management/listStoresResponse.ts +++ b/src/typings/management/listStoresResponse.ts @@ -12,6 +12,9 @@ import { Store } from './store'; export class ListStoresResponse { 'links'?: PaginationLinks; + /** + * List of stores + */ 'data'?: Array; /** * Total number of items. diff --git a/src/typings/management/meApiCredential.ts b/src/typings/management/meApiCredential.ts index 4e0efd7..4fa61c8 100644 --- a/src/typings/management/meApiCredential.ts +++ b/src/typings/management/meApiCredential.ts @@ -25,7 +25,7 @@ export class MeApiCredential { */ 'allowedOrigins'?: Array; /** - * List of merchant accounts that the API credential has access to. + * List of merchant accounts that the API credential has explicit access to. If the credential has access to a company, this implies access to all merchant accounts and no merchants for that company will be included. */ 'associatedMerchantAccounts'?: Array; /** diff --git a/src/typings/management/minorUnitsMonetaryValue.ts b/src/typings/management/minorUnitsMonetaryValue.ts index ba0bf6e..b65170d 100644 --- a/src/typings/management/minorUnitsMonetaryValue.ts +++ b/src/typings/management/minorUnitsMonetaryValue.ts @@ -10,11 +10,11 @@ export class MinorUnitsMonetaryValue { /** - * Amount of this monetary value, in minor units + * The transaction amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). */ 'amount'?: number; /** - * Currency of this monetary value, Format: [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). */ 'currencyCode'?: string; diff --git a/src/typings/management/models.ts b/src/typings/management/models.ts index 3dc69ab..0474b7c 100644 --- a/src/typings/management/models.ts +++ b/src/typings/management/models.ts @@ -109,6 +109,7 @@ export * from './scheduleTerminalActionsResponse'; export * from './settings'; export * from './shippingLocation'; export * from './shippingLocationsResponse'; +export * from './shopperStatement'; export * from './signature'; export * from './sofortInfo'; export * from './store'; @@ -251,6 +252,7 @@ import { ScheduleTerminalActionsResponse } from './scheduleTerminalActionsRespon import { Settings } from './settings'; import { ShippingLocation } from './shippingLocation'; import { ShippingLocationsResponse } from './shippingLocationsResponse'; +import { ShopperStatement } from './shopperStatement'; import { Signature } from './signature'; import { SofortInfo } from './sofortInfo'; import { Store } from './store'; @@ -316,11 +318,13 @@ let enumsMap: {[index: string]: any} = { "InstallAndroidAppDetails.TypeEnum": InstallAndroidAppDetails.TypeEnum, "InstallAndroidCertificateDetails.TypeEnum": InstallAndroidCertificateDetails.TypeEnum, "KlarnaInfo.RegionEnum": KlarnaInfo.RegionEnum, + "PaymentMethod.VerificationStatusEnum": PaymentMethod.VerificationStatusEnum, "PaymentMethodSetupInfo.ShopperInteractionEnum": PaymentMethodSetupInfo.ShopperInteractionEnum, "PaymentMethodSetupInfo.TypeEnum": PaymentMethodSetupInfo.TypeEnum, "PayoutSettings.PriorityEnum": PayoutSettings.PriorityEnum, "PayoutSettings.VerificationStatusEnum": PayoutSettings.VerificationStatusEnum, "ReleaseUpdateDetails.TypeEnum": ReleaseUpdateDetails.TypeEnum, + "ShopperStatement.TypeEnum": ShopperStatement.TypeEnum, "Store.StatusEnum": Store.StatusEnum, "UninstallAndroidAppDetails.TypeEnum": UninstallAndroidAppDetails.TypeEnum, "UninstallAndroidCertificateDetails.TypeEnum": UninstallAndroidCertificateDetails.TypeEnum, @@ -440,6 +444,7 @@ let typeMap: {[index: string]: any} = { "Settings": Settings, "ShippingLocation": ShippingLocation, "ShippingLocationsResponse": ShippingLocationsResponse, + "ShopperStatement": ShopperStatement, "Signature": Signature, "SofortInfo": SofortInfo, "Store": Store, diff --git a/src/typings/management/offlineProcessing.ts b/src/typings/management/offlineProcessing.ts index 9e58aff..9eb466d 100644 --- a/src/typings/management/offlineProcessing.ts +++ b/src/typings/management/offlineProcessing.ts @@ -11,11 +11,11 @@ import { MinorUnitsMonetaryValue } from './minorUnitsMonetaryValue'; export class OfflineProcessing { /** - * The (inclusive) limit for accepting chip cards offline, in the processing currency, in minor units + * The maximum offline transaction amount for chip cards, in the processing currency and specified in [minor units](https://docs.adyen.com/development-resources/currency-codes). */ 'chipFloorLimit'?: number; /** - * The maximum amount up to which swiped credit cards can be accepted offline, in the specified currency + * The maximum offline transaction amount for swiped cards, in the specified currency. */ 'offlineSwipeLimits'?: Array; diff --git a/src/typings/management/payPalInfo.ts b/src/typings/management/payPalInfo.ts index 8c335d0..fd0001f 100644 --- a/src/typings/management/payPalInfo.ts +++ b/src/typings/management/payPalInfo.ts @@ -14,10 +14,6 @@ export class PayPalInfo { */ 'directCapture'?: boolean; /** - * Must be set to **true** to confirm that the settlement to your bank account is performed directly by PayPal. Default value: **null**. - */ - 'directSettlement': boolean; - /** * PayPal Merchant ID. Character length and limitations: 13 single-byte alphanumeric characters. */ 'payerId': string; @@ -34,11 +30,6 @@ export class PayPalInfo { "baseName": "directCapture", "type": "boolean" }, - { - "name": "directSettlement", - "baseName": "directSettlement", - "type": "boolean" - }, { "name": "payerId", "baseName": "payerId", diff --git a/src/typings/management/paymentMethod.ts b/src/typings/management/paymentMethod.ts index 5875d37..ea57118 100644 --- a/src/typings/management/paymentMethod.ts +++ b/src/typings/management/paymentMethod.ts @@ -17,6 +17,10 @@ import { SofortInfo } from './sofortInfo'; import { SwishInfo } from './swishInfo'; export class PaymentMethod { + /** + * Indicates whether receiving payments is allowed. This value is set to **true** by Adyen after screening your merchant account. + */ + 'allowed'?: boolean; 'applePay'?: ApplePayInfo; 'bcmc'?: BcmcInfo; /** @@ -43,6 +47,10 @@ export class PaymentMethod { 'id': string; 'klarna'?: KlarnaInfo; 'paypal'?: PayPalInfo; + /** + * The sales channel. + */ + 'shopperInteraction'?: string; 'sofort'?: SofortInfo; /** * The ID of the [store](https://docs.adyen.com/api-explorer/#/ManagementService/latest/post/stores__resParam_id), if any. @@ -53,10 +61,19 @@ export class PaymentMethod { * Payment method [variant](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api). */ 'type'?: string; + /** + * Payment method status. Possible values: * **valid** * **pending** * **invalid** * **rejected** + */ + 'verificationStatus'?: PaymentMethod.VerificationStatusEnum; static discriminator: string | undefined = undefined; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ + { + "name": "allowed", + "baseName": "allowed", + "type": "boolean" + }, { "name": "applePay", "baseName": "applePay", @@ -112,6 +129,11 @@ export class PaymentMethod { "baseName": "paypal", "type": "PayPalInfo" }, + { + "name": "shopperInteraction", + "baseName": "shopperInteraction", + "type": "string" + }, { "name": "sofort", "baseName": "sofort", @@ -131,6 +153,11 @@ export class PaymentMethod { "name": "type", "baseName": "type", "type": "string" + }, + { + "name": "verificationStatus", + "baseName": "verificationStatus", + "type": "PaymentMethod.VerificationStatusEnum" } ]; static getAttributeTypeMap() { @@ -138,3 +165,11 @@ export class PaymentMethod { } } +export namespace PaymentMethod { + export enum VerificationStatusEnum { + Valid = 'valid', + Pending = 'pending', + Invalid = 'invalid', + Rejected = 'rejected' + } +} diff --git a/src/typings/management/scheduleTerminalActionsResponse.ts b/src/typings/management/scheduleTerminalActionsResponse.ts index c3a9665..b3d7353 100644 --- a/src/typings/management/scheduleTerminalActionsResponse.ts +++ b/src/typings/management/scheduleTerminalActionsResponse.ts @@ -19,6 +19,9 @@ export class ScheduleTerminalActionsResponse { * Information about the action to take. */ 'actionDetails'?: InstallAndroidAppDetails | InstallAndroidCertificateDetails | ReleaseUpdateDetails | UninstallAndroidAppDetails | UninstallAndroidCertificateDetails; + /** + * A list containing a terminal ID and an action ID for each terminal that the action was scheduled for. + */ 'items'?: Array; /** * The date and time when the action should happen. Format: [RFC 3339](https://www.rfc-editor.org/rfc/rfc3339), but without the **Z** before the time offset. For example, **2021-11-15T12:16:21+01:00** The action is sent with the first [maintenance call](https://docs.adyen.com/point-of-sale/automating-terminal-management/terminal-actions-api#when-actions-take-effect) after the specified date and time in the time zone of the terminal. An empty value causes the action to be sent as soon as possible: at the next maintenance call. @@ -29,7 +32,7 @@ export class ScheduleTerminalActionsResponse { */ 'storeId'?: string; /** - * A list of unique IDs of the terminals to apply the action to. You can extract the IDs from the [GET `/terminals`](https://docs.adyen.com/api-explorer/#/ManagementService/latest/get/terminals) response. Maximum length: 100 IDs. + * A list of unique IDs of the terminals that the action applies to. */ 'terminalIds'?: Array; /** diff --git a/src/typings/management/shopperStatement.ts b/src/typings/management/shopperStatement.ts new file mode 100644 index 0000000..6a5cb4e --- /dev/null +++ b/src/typings/management/shopperStatement.ts @@ -0,0 +1,46 @@ +/* + * The version of the OpenAPI document: v1 + * Contact: developer-experience@adyen.com + * + * 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 ShopperStatement { + /** + * The name you want to be shown on the shopper\'s bank or credit card statement. Maximum length: 22 characters; can\'t be all numbers. + */ + 'doingBusinessAsName': string; + /** + * The type of shopperstatement you want to use: fixed, append or dynamic + */ + 'type'?: ShopperStatement.TypeEnum; + + static discriminator: string | undefined = undefined; + + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ + { + "name": "doingBusinessAsName", + "baseName": "doingBusinessAsName", + "type": "string" + }, + { + "name": "type", + "baseName": "type", + "type": "ShopperStatement.TypeEnum" + } ]; + + static getAttributeTypeMap() { + return ShopperStatement.attributeTypeMap; + } +} + +export namespace ShopperStatement { + export enum TypeEnum { + Append = 'append', + Dynamic = 'dynamic', + Fixed = 'fixed' + } +} diff --git a/src/typings/management/storeSplitConfiguration.ts b/src/typings/management/storeSplitConfiguration.ts index 016c8b3..233b16e 100644 --- a/src/typings/management/storeSplitConfiguration.ts +++ b/src/typings/management/storeSplitConfiguration.ts @@ -14,7 +14,7 @@ export class StoreSplitConfiguration { */ 'balanceAccountId'?: string; /** - * The UUID of the [split configuration](https://docs.adyen.com/platforms/split-configuration-for-stores) from the Customer Area. + * The UUID of the [split configuration](https://docs.adyen.com/marketplaces-and-platforms/classic/split-configuration-for-stores) from the Customer Area. */ 'splitConfigurationId'?: string; diff --git a/src/typings/management/terminal.ts b/src/typings/management/terminal.ts index 18f03ec..7c81de5 100644 --- a/src/typings/management/terminal.ts +++ b/src/typings/management/terminal.ts @@ -26,15 +26,15 @@ export class Terminal { */ 'city'?: string; /** - * The company account of the terminal. + * The company account that the terminal is associated with. If this is the only account level shown in the response, the terminal is assigned to the inventory of the company account. */ 'companyAccount'?: string; /** - * The country code where the terminal is located. + * The country code of the country where the terminal is located. */ 'countryCode'?: string; /** - * The terminal model of the device. + * The model name of the terminal. */ 'deviceModel'?: string; /** @@ -46,11 +46,11 @@ export class Terminal { */ 'ethernetMac'?: string; /** - * The firmware Version of the terminal. + * The software release currently in use on the terminal. */ 'firmwareVersion'?: string; /** - * The ICCID number of the cellular communications card. + * The integrated circuit card identifier (ICCID) of the SIM card in the terminal. */ 'iccid'?: string; /** @@ -58,15 +58,15 @@ export class Terminal { */ 'id'?: string; /** - * The last Activity Date and Time of the terminal. + * Date and time of the last activity on the terminal. Not included when the last activity was more than 14 days ago. */ 'lastActivityDateTime'?: Date; /** - * The last Transaction Date and Time of the terminal. + * Date and time of the last transaction on the terminal. Not included when the last transaction was more than 14 days ago. */ 'lastTransactionDateTime'?: Date; /** - * The ethernet link speed of the terminal that was negotiated. + * The Ethernet link negotiation that the terminal uses: - `auto`: Auto-negotiation - `100full`: 100 Mbps full duplex */ 'linkNegotiation'?: string; /** @@ -82,19 +82,19 @@ export class Terminal { */ 'status'?: string; /** - * The Status of store where the terminal is located. + * The status of the store that the terminal is assigned to. */ 'storeStatus'?: string; /** - * The WiFi IP address of the terminal. + * The terminal\'s IP address in your Wi-Fi network. */ 'wifiIp'?: string; /** - * The WiFi MAC address of the terminal. + * The terminal\'s MAC address in your Wi-Fi network. */ 'wifiMac'?: string; /** - * The WIFI SSID of the terminal. + * The SSID of the Wi-Fi network that your terminal is connected to. */ 'wifiSsid'?: string; diff --git a/src/typings/management/terminalActionScheduleDetail.ts b/src/typings/management/terminalActionScheduleDetail.ts index 9001630..3aab8a7 100644 --- a/src/typings/management/terminalActionScheduleDetail.ts +++ b/src/typings/management/terminalActionScheduleDetail.ts @@ -9,7 +9,13 @@ export class TerminalActionScheduleDetail { + /** + * The ID of the action on the specified terminal. + */ 'id'?: string; + /** + * The unique ID of the terminal that the action applies to. + */ 'terminalId'?: string; static discriminator: string | undefined = undefined; diff --git a/src/typings/management/updateCompanyWebhookRequest.ts b/src/typings/management/updateCompanyWebhookRequest.ts index e41ba41..11e74ca 100644 --- a/src/typings/management/updateCompanyWebhookRequest.ts +++ b/src/typings/management/updateCompanyWebhookRequest.ts @@ -56,7 +56,7 @@ export class UpdateCompanyWebhookRequest { */ 'populateSoapActionHeader'?: boolean; /** - * SSL version to access the public webhook URL specified in the `url` field. Possible values: * **TLSv1.2** * **HTTP** - Only allowed on Test environment. If not specified, the webhook will use `sslVersion`: **TLSv1.2**. + * SSL version to access the public webhook URL specified in the `url` field. Possible values: * **TLSv1.3** * **TLSv1.2** * **HTTP** - Only allowed on Test environment. If not specified, the webhook will use `sslVersion`: **TLSv1.2**. */ 'sslVersion'?: UpdateCompanyWebhookRequest.SslVersionEnum; /** @@ -176,6 +176,7 @@ export namespace UpdateCompanyWebhookRequest { Tlsv1 = 'TLSV1', Tlsv11 = 'TLSV1_1', Tlsv12 = 'TLSV1_2', + Tlsv13 = 'TLSV1_3', Tlsv1InsecureCiphers = 'TLSV1_INSECURE_CIPHERS' } } diff --git a/src/typings/management/updateMerchantWebhookRequest.ts b/src/typings/management/updateMerchantWebhookRequest.ts index 7ddb5d0..3141b7c 100644 --- a/src/typings/management/updateMerchantWebhookRequest.ts +++ b/src/typings/management/updateMerchantWebhookRequest.ts @@ -48,7 +48,7 @@ export class UpdateMerchantWebhookRequest { */ 'populateSoapActionHeader'?: boolean; /** - * SSL version to access the public webhook URL specified in the `url` field. Possible values: * **TLSv1.2** * **HTTP** - Only allowed on Test environment. If not specified, the webhook will use `sslVersion`: **TLSv1.2**. + * SSL version to access the public webhook URL specified in the `url` field. Possible values: * **TLSv1.3** * **TLSv1.2** * **HTTP** - Only allowed on Test environment. If not specified, the webhook will use `sslVersion`: **TLSv1.2**. */ 'sslVersion'?: UpdateMerchantWebhookRequest.SslVersionEnum; /** @@ -153,6 +153,7 @@ export namespace UpdateMerchantWebhookRequest { Tlsv1 = 'TLSV1', Tlsv11 = 'TLSV1_1', Tlsv12 = 'TLSV1_2', + Tlsv13 = 'TLSV1_3', Tlsv1InsecureCiphers = 'TLSV1_INSECURE_CIPHERS' } } diff --git a/src/typings/management/updatePaymentMethodInfo.ts b/src/typings/management/updatePaymentMethodInfo.ts index fdfeb80..c2f8587 100644 --- a/src/typings/management/updatePaymentMethodInfo.ts +++ b/src/typings/management/updatePaymentMethodInfo.ts @@ -7,6 +7,7 @@ * Do not edit this class manually. */ +import { ShopperStatement } from './shopperStatement'; export class UpdatePaymentMethodInfo { /** @@ -21,6 +22,7 @@ export class UpdatePaymentMethodInfo { * Indicates whether the payment method is enabled (**true**) or disabled (**false**). */ 'enabled'?: boolean; + 'shopperStatement'?: ShopperStatement; static discriminator: string | undefined = undefined; @@ -39,6 +41,11 @@ export class UpdatePaymentMethodInfo { "name": "enabled", "baseName": "enabled", "type": "boolean" + }, + { + "name": "shopperStatement", + "baseName": "shopperStatement", + "type": "ShopperStatement" } ]; static getAttributeTypeMap() { diff --git a/src/typings/management/webhook.ts b/src/typings/management/webhook.ts index 2711e6e..c59cdea 100644 --- a/src/typings/management/webhook.ts +++ b/src/typings/management/webhook.ts @@ -78,7 +78,7 @@ export class Webhook { */ 'populateSoapActionHeader'?: boolean; /** - * SSL version to access the public webhook URL specified in the `url` field. Possible values: * **TLSv1.2** * **HTTP** - Only allowed on Test environment. If not specified, the webhook will use `sslVersion`: **TLSv1.2**. + * SSL version to access the public webhook URL specified in the `url` field. Possible values: * **TLSv1.3** * **TLSv1.2** * **HTTP** - Only allowed on Test environment. If not specified, the webhook will use `sslVersion`: **TLSv1.2**. */ 'sslVersion'?: Webhook.SslVersionEnum; /** @@ -237,6 +237,7 @@ export namespace Webhook { Tlsv1 = 'TLSV1', Tlsv11 = 'TLSV1_1', Tlsv12 = 'TLSV1_2', + Tlsv13 = 'TLSV1_3', Tlsv1InsecureCiphers = 'TLSV1_INSECURE_CIPHERS' } } diff --git a/src/typings/payments/adjustAuthorisationRequest.ts b/src/typings/payments/adjustAuthorisationRequest.ts index 2263ea9..83838f3 100644 --- a/src/typings/payments/adjustAuthorisationRequest.ts +++ b/src/typings/payments/adjustAuthorisationRequest.ts @@ -35,7 +35,7 @@ export class AdjustAuthorisationRequest { */ 'reference'?: string; /** - * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For details, refer to [Providing split information](https://docs.adyen.com/platforms/processing-payments#providing-split-information). + * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For details, refer to [Providing split information](https://docs.adyen.com/marketplaces-and-platforms/processing-payments#providing-split-information). */ 'splits'?: Array; /** diff --git a/src/typings/payments/cancelRequest.ts b/src/typings/payments/cancelRequest.ts index 6c1291b..9c7bc9d 100644 --- a/src/typings/payments/cancelRequest.ts +++ b/src/typings/payments/cancelRequest.ts @@ -33,7 +33,7 @@ export class CancelRequest { */ 'reference'?: string; /** - * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For details, refer to [Providing split information](https://docs.adyen.com/platforms/processing-payments#providing-split-information). + * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For details, refer to [Providing split information](https://docs.adyen.com/marketplaces-and-platforms/processing-payments#providing-split-information). */ 'splits'?: Array; /** diff --git a/src/typings/payments/captureRequest.ts b/src/typings/payments/captureRequest.ts index fe588af..f5a35f3 100644 --- a/src/typings/payments/captureRequest.ts +++ b/src/typings/payments/captureRequest.ts @@ -35,7 +35,7 @@ export class CaptureRequest { */ 'reference'?: string; /** - * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For details, refer to [Providing split information](https://docs.adyen.com/platforms/processing-payments#providing-split-information). + * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For details, refer to [Providing split information](https://docs.adyen.com/marketplaces-and-platforms/processing-payments#providing-split-information). */ 'splits'?: Array; /** diff --git a/src/typings/payments/fundDestination.ts b/src/typings/payments/fundDestination.ts new file mode 100644 index 0000000..d570b57 --- /dev/null +++ b/src/typings/payments/fundDestination.ts @@ -0,0 +1,87 @@ +/* + * The version of the OpenAPI document: v68 + * Contact: developer-experience@adyen.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit this class manually. + */ + +import { Address } from './address'; +import { Card } from './card'; +import { Name } from './name'; + +export class FundDestination { + /** + * a map of name/value pairs for passing in additional/industry-specific data + */ + 'additionalData'?: { [key: string]: string; }; + 'billingAddress'?: Address; + 'card'?: Card; + /** + * The `recurringDetailReference` you want to use for this payment. The value `LATEST` can be used to select the most recently stored recurring detail. + */ + 'selectedRecurringDetailReference'?: string; + /** + * the email address of the person + */ + 'shopperEmail'?: string; + 'shopperName'?: Name; + /** + * Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. + */ + 'shopperReference'?: string; + /** + * the telephone number of the person + */ + 'telephoneNumber'?: string; + + static discriminator: string | undefined = undefined; + + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ + { + "name": "additionalData", + "baseName": "additionalData", + "type": "{ [key: string]: string; }" + }, + { + "name": "billingAddress", + "baseName": "billingAddress", + "type": "Address" + }, + { + "name": "card", + "baseName": "card", + "type": "Card" + }, + { + "name": "selectedRecurringDetailReference", + "baseName": "selectedRecurringDetailReference", + "type": "string" + }, + { + "name": "shopperEmail", + "baseName": "shopperEmail", + "type": "string" + }, + { + "name": "shopperName", + "baseName": "shopperName", + "type": "Name" + }, + { + "name": "shopperReference", + "baseName": "shopperReference", + "type": "string" + }, + { + "name": "telephoneNumber", + "baseName": "telephoneNumber", + "type": "string" + } ]; + + static getAttributeTypeMap() { + return FundDestination.attributeTypeMap; + } +} + diff --git a/src/typings/payments/fundSource.ts b/src/typings/payments/fundSource.ts new file mode 100644 index 0000000..0612f0b --- /dev/null +++ b/src/typings/payments/fundSource.ts @@ -0,0 +1,69 @@ +/* + * The version of the OpenAPI document: v68 + * Contact: developer-experience@adyen.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit this class manually. + */ + +import { Address } from './address'; +import { Card } from './card'; +import { Name } from './name'; + +export class FundSource { + /** + * A map of name-value pairs for passing additional or industry-specific data. + */ + 'additionalData'?: { [key: string]: string; }; + 'billingAddress'?: Address; + 'card'?: Card; + /** + * Email address of the person. + */ + 'shopperEmail'?: string; + 'shopperName'?: Name; + /** + * Phone number of the person + */ + 'telephoneNumber'?: string; + + static discriminator: string | undefined = undefined; + + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ + { + "name": "additionalData", + "baseName": "additionalData", + "type": "{ [key: string]: string; }" + }, + { + "name": "billingAddress", + "baseName": "billingAddress", + "type": "Address" + }, + { + "name": "card", + "baseName": "card", + "type": "Card" + }, + { + "name": "shopperEmail", + "baseName": "shopperEmail", + "type": "string" + }, + { + "name": "shopperName", + "baseName": "shopperName", + "type": "Name" + }, + { + "name": "telephoneNumber", + "baseName": "telephoneNumber", + "type": "string" + } ]; + + static getAttributeTypeMap() { + return FundSource.attributeTypeMap; + } +} + diff --git a/src/typings/payments/models.ts b/src/typings/payments/models.ts index 42646cf..62a14fc 100644 --- a/src/typings/payments/models.ts +++ b/src/typings/payments/models.ts @@ -45,6 +45,8 @@ export * from './externalPlatform'; export * from './forexQuote'; export * from './fraudCheckResult'; export * from './fraudResult'; +export * from './fundDestination'; +export * from './fundSource'; export * from './installments'; export * from './mandate'; export * from './merchantDevice'; @@ -120,6 +122,8 @@ import { ExternalPlatform } from './externalPlatform'; import { ForexQuote } from './forexQuote'; import { FraudCheckResult } from './fraudCheckResult'; import { FraudResult } from './fraudResult'; +import { FundDestination } from './fundDestination'; +import { FundSource } from './fundSource'; import { Installments } from './installments'; import { Mandate } from './mandate'; import { MerchantDevice } from './merchantDevice'; @@ -206,7 +210,6 @@ let enumsMap: {[index: string]: any} = { "Recurring.ContractEnum": Recurring.ContractEnum, "Recurring.TokenServiceEnum": Recurring.TokenServiceEnum, "ResponseAdditionalDataCommon.FraudResultTypeEnum": ResponseAdditionalDataCommon.FraudResultTypeEnum, - "ResponseAdditionalDataCommon.MerchantAdviceCodeEnum": ResponseAdditionalDataCommon.MerchantAdviceCodeEnum, "ResponseAdditionalDataCommon.RecurringProcessingModelEnum": ResponseAdditionalDataCommon.RecurringProcessingModelEnum, "Split.TypeEnum": Split.TypeEnum, "ThreeDS2RequestData.AcctTypeEnum": ThreeDS2RequestData.AcctTypeEnum, @@ -263,6 +266,8 @@ let typeMap: {[index: string]: any} = { "ForexQuote": ForexQuote, "FraudCheckResult": FraudCheckResult, "FraudResult": FraudResult, + "FundDestination": FundDestination, + "FundSource": FundSource, "Installments": Installments, "Mandate": Mandate, "MerchantDevice": MerchantDevice, diff --git a/src/typings/payments/paymentRequest.ts b/src/typings/payments/paymentRequest.ts index bc695dd..d1b9695 100644 --- a/src/typings/payments/paymentRequest.ts +++ b/src/typings/payments/paymentRequest.ts @@ -15,6 +15,8 @@ import { BankAccount } from './bankAccount'; import { BrowserInfo } from './browserInfo'; import { Card } from './card'; import { ForexQuote } from './forexQuote'; +import { FundDestination } from './fundDestination'; +import { FundSource } from './fundSource'; import { Installments } from './installments'; import { Mandate } from './mandate'; import { MerchantRiskIndicator } from './merchantRiskIndicator'; @@ -63,6 +65,8 @@ export class PaymentRequest { * An integer value that is added to the normal fraud score. The value can be either positive or negative. */ 'fraudOffset'?: number; + 'fundDestination'?: FundDestination; + 'fundSource'?: FundSource; /** * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. */ @@ -146,11 +150,11 @@ export class PaymentRequest { */ 'socialSecurityNumber'?: string; /** - * An array of objects specifying how the payment should be split when using [Adyen for Platforms](https://docs.adyen.com/platforms/processing-payments#providing-split-information) or [Issuing](https://docs.adyen.com/issuing/manage-funds#split). + * An array of objects specifying how the payment should be split when using [Adyen for Platforms](https://docs.adyen.com/marketplaces-and-platforms/processing-payments#providing-split-information) or [Issuing](https://docs.adyen.com/issuing/add-manage-funds#split). */ 'splits'?: Array; /** - * The ecommerce or point-of-sale store that is processing the payment. Used in [partner arrangement integrations](https://docs.adyen.com/platforms/platforms-for-partners#route-payments) for Adyen for Platforms. + * The ecommerce or point-of-sale store that is processing the payment. Used in [partner model integrations](https://docs.adyen.com/marketplaces-and-platforms/classic/platforms-for-partners#route-payments) for Adyen for Platforms. */ 'store'?: string; /** @@ -259,6 +263,16 @@ export class PaymentRequest { "baseName": "fraudOffset", "type": "number" }, + { + "name": "fundDestination", + "baseName": "fundDestination", + "type": "FundDestination" + }, + { + "name": "fundSource", + "baseName": "fundSource", + "type": "FundSource" + }, { "name": "fundingSource", "baseName": "fundingSource", diff --git a/src/typings/payments/paymentRequest3d.ts b/src/typings/payments/paymentRequest3d.ts index 63cfc2e..9325b6a 100644 --- a/src/typings/payments/paymentRequest3d.ts +++ b/src/typings/payments/paymentRequest3d.ts @@ -134,11 +134,11 @@ export class PaymentRequest3d { */ 'socialSecurityNumber'?: string; /** - * An array of objects specifying how the payment should be split when using [Adyen for Platforms](https://docs.adyen.com/platforms/processing-payments#providing-split-information) or [Issuing](https://docs.adyen.com/issuing/manage-funds#split). + * An array of objects specifying how the payment should be split when using [Adyen for Platforms](https://docs.adyen.com/marketplaces-and-platforms/processing-payments#providing-split-information) or [Issuing](https://docs.adyen.com/issuing/add-manage-funds#split). */ 'splits'?: Array; /** - * The ecommerce or point-of-sale store that is processing the payment. Used in [partner arrangement integrations](https://docs.adyen.com/platforms/platforms-for-partners#route-payments) for Adyen for Platforms. + * The ecommerce or point-of-sale store that is processing the payment. Used in [partner model integrations](https://docs.adyen.com/marketplaces-and-platforms/classic/platforms-for-partners#route-payments) for Adyen for Platforms. */ 'store'?: string; /** diff --git a/src/typings/payments/paymentRequest3ds2.ts b/src/typings/payments/paymentRequest3ds2.ts index af81838..606b7eb 100644 --- a/src/typings/payments/paymentRequest3ds2.ts +++ b/src/typings/payments/paymentRequest3ds2.ts @@ -127,11 +127,11 @@ export class PaymentRequest3ds2 { */ 'socialSecurityNumber'?: string; /** - * An array of objects specifying how the payment should be split when using [Adyen for Platforms](https://docs.adyen.com/platforms/processing-payments#providing-split-information) or [Issuing](https://docs.adyen.com/issuing/manage-funds#split). + * An array of objects specifying how the payment should be split when using [Adyen for Platforms](https://docs.adyen.com/marketplaces-and-platforms/processing-payments#providing-split-information) or [Issuing](https://docs.adyen.com/issuing/add-manage-funds#split). */ 'splits'?: Array; /** - * The ecommerce or point-of-sale store that is processing the payment. Used in [partner arrangement integrations](https://docs.adyen.com/platforms/platforms-for-partners#route-payments) for Adyen for Platforms. + * The ecommerce or point-of-sale store that is processing the payment. Used in [partner model integrations](https://docs.adyen.com/marketplaces-and-platforms/classic/platforms-for-partners#route-payments) for Adyen for Platforms. */ 'store'?: string; /** diff --git a/src/typings/payments/paymentResult.ts b/src/typings/payments/paymentResult.ts index a2e3f1a..bedc66b 100644 --- a/src/typings/payments/paymentResult.ts +++ b/src/typings/payments/paymentResult.ts @@ -117,6 +117,7 @@ export class PaymentResult { export namespace PaymentResult { export enum ResultCodeEnum { AuthenticationFinished = 'AuthenticationFinished', + AuthenticationNotRequired = 'AuthenticationNotRequired', Authorised = 'Authorised', Cancelled = 'Cancelled', ChallengeShopper = 'ChallengeShopper', diff --git a/src/typings/payments/refundRequest.ts b/src/typings/payments/refundRequest.ts index 5b0c673..f13a576 100644 --- a/src/typings/payments/refundRequest.ts +++ b/src/typings/payments/refundRequest.ts @@ -35,7 +35,7 @@ export class RefundRequest { */ 'reference'?: string; /** - * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For details, refer to [Providing split information](https://docs.adyen.com/platforms/processing-payments#providing-split-information). + * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For details, refer to [Providing split information](https://docs.adyen.com/marketplaces-and-platforms/processing-payments#providing-split-information). */ 'splits'?: Array; /** diff --git a/src/typings/payments/responseAdditionalDataCommon.ts b/src/typings/payments/responseAdditionalDataCommon.ts index 5e1e876..c5bdd8f 100644 --- a/src/typings/payments/responseAdditionalDataCommon.ts +++ b/src/typings/payments/responseAdditionalDataCommon.ts @@ -130,9 +130,9 @@ export class ResponseAdditionalDataCommon { */ 'mcBankNetReferenceNumber'?: string; /** - * A code and message that issuers send to provide more details about the payment. This field is especially useful when implementing a retry logic for declined payments. Possible values: * **01: New account information available** * **02: Cannot approve at this time, try again later** * **03: Do not try again** * **04: Token requirements not fulfilled for this token type** * **21: Payment Cancellation** (only for Mastercard) + * The Merchant Advice Code (MAC) can be returned by Mastercard issuers for refused payments. If present, the MAC contains information about why the payment failed, and whether it can be retried. For more information see [Mastercard Merchant Advice Codes](https://docs.adyen.com/development-resources/raw-acquirer-responses#mastercard-merchant-advice-codes). */ - 'merchantAdviceCode'?: ResponseAdditionalDataCommon.MerchantAdviceCodeEnum; + 'merchantAdviceCode'?: string; /** * The reference provided for the transaction. */ @@ -402,7 +402,7 @@ export class ResponseAdditionalDataCommon { { "name": "merchantAdviceCode", "baseName": "merchantAdviceCode", - "type": "ResponseAdditionalDataCommon.MerchantAdviceCodeEnum" + "type": "string" }, { "name": "merchantReference", @@ -555,13 +555,6 @@ export namespace ResponseAdditionalDataCommon { Green = 'GREEN', Fraud = 'FRAUD' } - export enum MerchantAdviceCodeEnum { - _01NewAccountInformationAvailable = '01: New account information available', - _02CannotApproveAtThisTimeTryAgainLater = '02: Cannot approve at this time, try again later', - _03DoNotTryAgain = '03: Do not try again', - _04TokenRequirementsNotFulfilledForThisTokenType = '04: Token requirements not fulfilled for this token type', - _21PaymentCancellation = '21: Payment Cancellation' - } export enum RecurringProcessingModelEnum { CardOnFile = 'CardOnFile', Subscription = 'Subscription', diff --git a/src/typings/payments/serviceError.ts b/src/typings/payments/serviceError.ts index 551936c..c89df83 100644 --- a/src/typings/payments/serviceError.ts +++ b/src/typings/payments/serviceError.ts @@ -10,7 +10,7 @@ export class ServiceError { /** - * Contains additional information about the payment. Some data fields are included only if you select them first: Go to **Customer Area** > **Account** > **API URLs**. + * Contains additional information about the payment. Some data fields are included only if you select them first. Go to **Customer Area** > **Developers** > **Additional data**. */ 'additionalData'?: { [key: string]: string; }; /** diff --git a/src/typings/payments/technicalCancelRequest.ts b/src/typings/payments/technicalCancelRequest.ts index 4b38f67..cb60a78 100644 --- a/src/typings/payments/technicalCancelRequest.ts +++ b/src/typings/payments/technicalCancelRequest.ts @@ -31,7 +31,7 @@ export class TechnicalCancelRequest { */ 'reference'?: string; /** - * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For details, refer to [Providing split information](https://docs.adyen.com/platforms/processing-payments#providing-split-information). + * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For details, refer to [Providing split information](https://docs.adyen.com/marketplaces-and-platforms/processing-payments#providing-split-information). */ 'splits'?: Array; /** diff --git a/src/typings/payments/voidPendingRefundRequest.ts b/src/typings/payments/voidPendingRefundRequest.ts index 3877452..383a586 100644 --- a/src/typings/payments/voidPendingRefundRequest.ts +++ b/src/typings/payments/voidPendingRefundRequest.ts @@ -35,7 +35,7 @@ export class VoidPendingRefundRequest { */ 'reference'?: string; /** - * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For details, refer to [Providing split information](https://docs.adyen.com/platforms/processing-payments#providing-split-information). + * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For details, refer to [Providing split information](https://docs.adyen.com/marketplaces-and-platforms/processing-payments#providing-split-information). */ 'splits'?: Array; /** diff --git a/src/typings/payouts/models.ts b/src/typings/payouts/models.ts index 27cfea0..4bc8932 100644 --- a/src/typings/payouts/models.ts +++ b/src/typings/payouts/models.ts @@ -85,7 +85,6 @@ let enumsMap: {[index: string]: any} = { "Recurring.ContractEnum": Recurring.ContractEnum, "Recurring.TokenServiceEnum": Recurring.TokenServiceEnum, "ResponseAdditionalDataCommon.FraudResultTypeEnum": ResponseAdditionalDataCommon.FraudResultTypeEnum, - "ResponseAdditionalDataCommon.MerchantAdviceCodeEnum": ResponseAdditionalDataCommon.MerchantAdviceCodeEnum, "ResponseAdditionalDataCommon.RecurringProcessingModelEnum": ResponseAdditionalDataCommon.RecurringProcessingModelEnum, "StoreDetailAndSubmitRequest.EntityTypeEnum": StoreDetailAndSubmitRequest.EntityTypeEnum, "StoreDetailRequest.EntityTypeEnum": StoreDetailRequest.EntityTypeEnum, diff --git a/src/typings/payouts/payoutResponse.ts b/src/typings/payouts/payoutResponse.ts index 38f3eb8..0e228a9 100644 --- a/src/typings/payouts/payoutResponse.ts +++ b/src/typings/payouts/payoutResponse.ts @@ -117,6 +117,7 @@ export class PayoutResponse { export namespace PayoutResponse { export enum ResultCodeEnum { AuthenticationFinished = 'AuthenticationFinished', + AuthenticationNotRequired = 'AuthenticationNotRequired', Authorised = 'Authorised', Cancelled = 'Cancelled', ChallengeShopper = 'ChallengeShopper', diff --git a/src/typings/payouts/responseAdditionalDataCommon.ts b/src/typings/payouts/responseAdditionalDataCommon.ts index 5e1e876..c5bdd8f 100644 --- a/src/typings/payouts/responseAdditionalDataCommon.ts +++ b/src/typings/payouts/responseAdditionalDataCommon.ts @@ -130,9 +130,9 @@ export class ResponseAdditionalDataCommon { */ 'mcBankNetReferenceNumber'?: string; /** - * A code and message that issuers send to provide more details about the payment. This field is especially useful when implementing a retry logic for declined payments. Possible values: * **01: New account information available** * **02: Cannot approve at this time, try again later** * **03: Do not try again** * **04: Token requirements not fulfilled for this token type** * **21: Payment Cancellation** (only for Mastercard) + * The Merchant Advice Code (MAC) can be returned by Mastercard issuers for refused payments. If present, the MAC contains information about why the payment failed, and whether it can be retried. For more information see [Mastercard Merchant Advice Codes](https://docs.adyen.com/development-resources/raw-acquirer-responses#mastercard-merchant-advice-codes). */ - 'merchantAdviceCode'?: ResponseAdditionalDataCommon.MerchantAdviceCodeEnum; + 'merchantAdviceCode'?: string; /** * The reference provided for the transaction. */ @@ -402,7 +402,7 @@ export class ResponseAdditionalDataCommon { { "name": "merchantAdviceCode", "baseName": "merchantAdviceCode", - "type": "ResponseAdditionalDataCommon.MerchantAdviceCodeEnum" + "type": "string" }, { "name": "merchantReference", @@ -555,13 +555,6 @@ export namespace ResponseAdditionalDataCommon { Green = 'GREEN', Fraud = 'FRAUD' } - export enum MerchantAdviceCodeEnum { - _01NewAccountInformationAvailable = '01: New account information available', - _02CannotApproveAtThisTimeTryAgainLater = '02: Cannot approve at this time, try again later', - _03DoNotTryAgain = '03: Do not try again', - _04TokenRequirementsNotFulfilledForThisTokenType = '04: Token requirements not fulfilled for this token type', - _21PaymentCancellation = '21: Payment Cancellation' - } export enum RecurringProcessingModelEnum { CardOnFile = 'CardOnFile', Subscription = 'Subscription', diff --git a/src/typings/payouts/serviceError.ts b/src/typings/payouts/serviceError.ts index 551936c..c89df83 100644 --- a/src/typings/payouts/serviceError.ts +++ b/src/typings/payouts/serviceError.ts @@ -10,7 +10,7 @@ export class ServiceError { /** - * Contains additional information about the payment. Some data fields are included only if you select them first: Go to **Customer Area** > **Account** > **API URLs**. + * Contains additional information about the payment. Some data fields are included only if you select them first. Go to **Customer Area** > **Developers** > **Additional data**. */ 'additionalData'?: { [key: string]: string; }; /** diff --git a/src/typings/platformsAccount/accountEvent.ts b/src/typings/platformsAccount/accountEvent.ts index a914017..857f05e 100644 --- a/src/typings/platformsAccount/accountEvent.ts +++ b/src/typings/platformsAccount/accountEvent.ts @@ -10,7 +10,7 @@ export class AccountEvent { /** - * The event. >Permitted values: `InactivateAccount`, `RefundNotPaidOutTransfers`. For more information, refer to [Verification checks](https://docs.adyen.com/platforms/verification-checks). + * The event. >Permitted values: `InactivateAccount`, `RefundNotPaidOutTransfers`. For more information, refer to [Verification checks](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process). */ 'event': AccountEvent.EventEnum; /** diff --git a/src/typings/platformsAccount/accountHolderDetails.ts b/src/typings/platformsAccount/accountHolderDetails.ts index 4193d0c..ca13935 100644 --- a/src/typings/platformsAccount/accountHolderDetails.ts +++ b/src/typings/platformsAccount/accountHolderDetails.ts @@ -18,7 +18,7 @@ import { ViasAddress } from './viasAddress'; export class AccountHolderDetails { 'address'?: ViasAddress; /** - * Array of bank accounts associated with the account holder. For details about the required `BankAccountDetail` fields, refer to [Bank account check](https://docs.adyen.com/platforms/verification-checks/bank-account-check). + * Array of bank accounts associated with the account holder. For details about the required `bankAccountDetail` fields, see [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information). */ 'bankAccountDetails'?: Array; /** @@ -40,7 +40,7 @@ export class AccountHolderDetails { */ 'lastReviewDate'?: string; /** - * An array containing information about the account holder\'s [legal arrangements](https://docs.adyen.com/platforms/verification-checks/legal-arrangements). + * An array containing information about the account holder\'s [legal arrangements](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/legal-arrangements). */ 'legalArrangements'?: Array; /** @@ -52,12 +52,12 @@ export class AccountHolderDetails { */ 'metadata'?: { [key: string]: string; }; /** - * Array of tokenized card details associated with the account holder. For details about how you can use the tokens to pay out, refer to [Pay out to cards](https://docs.adyen.com/platforms/payout-to-cards). + * Array of tokenized card details associated with the account holder. For details about how you can use the tokens to pay out, refer to [Pay out to cards](https://docs.adyen.com/marketplaces-and-platforms/classic/payout-to-cards). */ 'payoutMethods'?: Array; 'principalBusinessAddress'?: ViasAddress; /** - * Array of stores associated with the account holder. Required when onboarding account holders that have an Adyen [point of sale](https://docs.adyen.com/platforms/platforms-for-pos). + * Array of stores associated with the account holder. Required when onboarding account holders that have an Adyen [point of sale](https://docs.adyen.com/marketplaces-and-platforms/classic/platforms-for-pos). */ 'storeDetails'?: Array; /** diff --git a/src/typings/platformsAccount/bankAccountDetail.ts b/src/typings/platformsAccount/bankAccountDetail.ts index f940e97..45b0981 100644 --- a/src/typings/platformsAccount/bankAccountDetail.ts +++ b/src/typings/platformsAccount/bankAccountDetail.ts @@ -10,11 +10,11 @@ export class BankAccountDetail { /** - * The bank account number (without separators). >Refer to the [Onboarding and verification](https://docs.adyen.com/platforms/onboarding-and-verification) section for details on field requirements. + * The bank account number (without separators). >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements. */ 'accountNumber'?: string; /** - * The type of bank account. Only applicable to bank accounts held in the USA. The permitted values are: `checking`, `savings`. >Refer to the [Onboarding and verification](https://docs.adyen.com/platforms/onboarding-and-verification) section for details on field requirements. + * The type of bank account. Only applicable to bank accounts held in the USA. The permitted values are: `checking`, `savings`. >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements. */ 'accountType'?: string; /** @@ -30,47 +30,47 @@ export class BankAccountDetail { */ 'bankAccountUUID'?: string; /** - * The bank identifier code. >Refer to the [Onboarding and verification](https://docs.adyen.com/platforms/onboarding-and-verification) section for details on field requirements. + * The bank identifier code. >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements. */ 'bankBicSwift'?: string; /** - * The city in which the bank branch is located. >Refer to the [Onboarding and verification](https://docs.adyen.com/platforms/onboarding-and-verification) section for details on field requirements. + * The city in which the bank branch is located. >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements. */ 'bankCity'?: string; /** - * The bank code of the banking institution with which the bank account is registered. >Refer to the [Onboarding and verification](https://docs.adyen.com/platforms/onboarding-and-verification) section for details on field requirements. + * The bank code of the banking institution with which the bank account is registered. >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements. */ 'bankCode'?: string; /** - * The name of the banking institution with which the bank account is held. >Refer to the [Onboarding and verification](https://docs.adyen.com/platforms/onboarding-and-verification) section for details on field requirements. + * The name of the banking institution with which the bank account is held. >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements. */ 'bankName'?: string; /** - * The branch code of the branch under which the bank account is registered. The value to be specified in this parameter depends on the country of the bank account: * United States - Routing number * United Kingdom - Sort code * Germany - Bankleitzahl >Refer to the [Onboarding and verification](https://docs.adyen.com/platforms/onboarding-and-verification) section for details on field requirements. + * The branch code of the branch under which the bank account is registered. The value to be specified in this parameter depends on the country of the bank account: * United States - Routing number * United Kingdom - Sort code * Germany - Bankleitzahl >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements. */ 'branchCode'?: string; /** - * The check code of the bank account. >Refer to the [Onboarding and verification](https://docs.adyen.com/platforms/onboarding-and-verification) section for details on field requirements. + * The check code of the bank account. >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements. */ 'checkCode'?: string; /** - * The two-letter country code in which the bank account is registered. >The permitted country codes are defined in ISO-3166-1 alpha-2 (e.g. \'NL\'). >Refer to the [Onboarding and verification](https://docs.adyen.com/platforms/onboarding-and-verification) section for details on field requirements. + * The two-letter country code in which the bank account is registered. >The permitted country codes are defined in ISO-3166-1 alpha-2 (e.g. \'NL\'). >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements. */ 'countryCode'?: string; /** - * The currency in which the bank account deals. >The permitted currency codes are defined in ISO-4217 (e.g. \'EUR\'). >Refer to the [Onboarding and verification](https://docs.adyen.com/platforms/onboarding-and-verification) section for details on field requirements. + * The currency in which the bank account deals. >The permitted currency codes are defined in ISO-4217 (e.g. \'EUR\'). */ 'currencyCode'?: string; /** - * The international bank account number. >The IBAN standard is defined in ISO-13616. >Refer to the [Onboarding and verification](https://docs.adyen.com/platforms/onboarding-and-verification) section for details on field requirements. + * The international bank account number. >The IBAN standard is defined in ISO-13616. >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements. */ 'iban'?: string; /** - * The city of residence of the bank account owner. >Refer to the [Onboarding and verification](https://docs.adyen.com/platforms/onboarding-and-verification) section for details on field requirements. + * The city of residence of the bank account owner. >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements. */ 'ownerCity'?: string; /** - * The country code of the country of residence of the bank account owner. >The permitted country codes are defined in ISO-3166-1 alpha-2 (e.g. \'NL\'). >Refer to the [Onboarding and verification](https://docs.adyen.com/platforms/onboarding-and-verification) section for details on field requirements. + * The country code of the country of residence of the bank account owner. >The permitted country codes are defined in ISO-3166-1 alpha-2 (e.g. \'NL\'). >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements. */ 'ownerCountryCode'?: string; /** @@ -78,27 +78,27 @@ export class BankAccountDetail { */ 'ownerDateOfBirth'?: string; /** - * The house name or number of the residence of the bank account owner. >Refer to the [Onboarding and verification](https://docs.adyen.com/platforms/onboarding-and-verification) section for details on field requirements. + * The house name or number of the residence of the bank account owner. >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements. */ 'ownerHouseNumberOrName'?: string; /** - * The name of the bank account owner. >Refer to the [Onboarding and verification](https://docs.adyen.com/platforms/onboarding-and-verification) section for details on field requirements. + * The name of the bank account owner. >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements. */ 'ownerName'?: string; /** - * The country code of the country of nationality of the bank account owner. >The permitted country codes are defined in ISO-3166-1 alpha-2 (e.g. \'NL\'). >Refer to the [Onboarding and verification](https://docs.adyen.com/platforms/onboarding-and-verification) section for details on field requirements. + * The country code of the country of nationality of the bank account owner. >The permitted country codes are defined in ISO-3166-1 alpha-2 (e.g. \'NL\'). >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements. */ 'ownerNationality'?: string; /** - * The postal code of the residence of the bank account owner. >Refer to the [Onboarding and verification](https://docs.adyen.com/platforms/onboarding-and-verification) section for details on field requirements. + * The postal code of the residence of the bank account owner. >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements. */ 'ownerPostalCode'?: string; /** - * The state of residence of the bank account owner. >Refer to the [Onboarding and verification](https://docs.adyen.com/platforms/onboarding-and-verification) section for details on field requirements. + * The state of residence of the bank account owner. >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements. */ 'ownerState'?: string; /** - * The street name of the residence of the bank account owner. >Refer to the [Onboarding and verification](https://docs.adyen.com/platforms/onboarding-and-verification) section for details on field requirements. + * The street name of the residence of the bank account owner. >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements. */ 'ownerStreet'?: string; /** @@ -106,11 +106,11 @@ export class BankAccountDetail { */ 'primaryAccount'?: boolean; /** - * The tax ID number. >Refer to the [Onboarding and verification](https://docs.adyen.com/platforms/onboarding-and-verification) section for details on field requirements. + * The tax ID number. >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements. */ 'taxId'?: string; /** - * The URL to be used for bank account verification. This may be generated on bank account creation. >Refer to the [Onboarding and verification](https://docs.adyen.com/platforms/onboarding-and-verification) section for details on field requirements. + * The URL to be used for bank account verification. This may be generated on bank account creation. >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements. */ 'urlForVerification'?: string; diff --git a/src/typings/platformsAccount/businessDetails.ts b/src/typings/platformsAccount/businessDetails.ts index 3a622a1..ec26017 100644 --- a/src/typings/platformsAccount/businessDetails.ts +++ b/src/typings/platformsAccount/businessDetails.ts @@ -29,7 +29,7 @@ export class BusinessDetails { */ 'registrationNumber'?: string; /** - * Array containing information about individuals associated with the account holder either through ownership or control. For details about how you can identify them, refer to [Identity check](https://docs.adyen.com/platforms/verification-checks/identity-check). + * Array containing information about individuals associated with the account holder either through ownership or control. For details about how you can identify them, refer to [our verification guide](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process#identify-ubos). */ 'shareholders'?: Array; /** diff --git a/src/typings/platformsAccount/createAccountHolderRequest.ts b/src/typings/platformsAccount/createAccountHolderRequest.ts index d2a5beb..90f4a2c 100644 --- a/src/typings/platformsAccount/createAccountHolderRequest.ts +++ b/src/typings/platformsAccount/createAccountHolderRequest.ts @@ -32,7 +32,7 @@ export class CreateAccountHolderRequest { */ 'primaryCurrency'?: string; /** - * The starting [processing tier](https://docs.adyen.com/platforms/onboarding-and-verification/precheck-kyc-information) for the prospective account holder. + * The starting [processing tier](https://docs.adyen.com/marketplaces-and-platforms/classic/onboarding-and-verification/precheck-kyc-information) for the prospective account holder. */ 'processingTier'?: number; /** diff --git a/src/typings/platformsAccount/createAccountRequest.ts b/src/typings/platformsAccount/createAccountRequest.ts index a221f9b..b80d69b 100644 --- a/src/typings/platformsAccount/createAccountRequest.ts +++ b/src/typings/platformsAccount/createAccountRequest.ts @@ -94,29 +94,15 @@ export class CreateAccountRequest { export namespace CreateAccountRequest { export enum PayoutScheduleEnum { BiweeklyOn1StAnd15ThAtMidnight = 'BIWEEKLY_ON_1ST_AND_15TH_AT_MIDNIGHT', - BiweeklyOn1StAnd15ThAtNoon = 'BIWEEKLY_ON_1ST_AND_15TH_AT_NOON', - BiDailyAu = 'BI_DAILY_AU', - BiDailyEu = 'BI_DAILY_EU', - BiDailyUs = 'BI_DAILY_US', Daily = 'DAILY', - Daily6Pm = 'DAILY_6PM', DailyAu = 'DAILY_AU', DailyEu = 'DAILY_EU', DailySg = 'DAILY_SG', DailyUs = 'DAILY_US', - Default = 'DEFAULT', - Every6HoursFromMidnight = 'EVERY_6_HOURS_FROM_MIDNIGHT', Hold = 'HOLD', Monthly = 'MONTHLY', - MonthlyOn15ThAtMidnight = 'MONTHLY_ON_15TH_AT_MIDNIGHT', Weekly = 'WEEKLY', - WeeklyMonToFriAu = 'WEEKLY_MON_TO_FRI_AU', - WeeklyMonToFriEu = 'WEEKLY_MON_TO_FRI_EU', - WeeklyMonToFriUs = 'WEEKLY_MON_TO_FRI_US', - WeeklyOnTueFriMidnight = 'WEEKLY_ON_TUE_FRI_MIDNIGHT', - WeeklySunToThuAu = 'WEEKLY_SUN_TO_THU_AU', - WeeklySunToThuUs = 'WEEKLY_SUN_TO_THU_US', - Yearly = 'YEARLY' + WeeklyOnTueFriMidnight = 'WEEKLY_ON_TUE_FRI_MIDNIGHT' } export enum PayoutSpeedEnum { Instant = 'INSTANT', diff --git a/src/typings/platformsAccount/deleteLegalArrangementRequest.ts b/src/typings/platformsAccount/deleteLegalArrangementRequest.ts new file mode 100644 index 0000000..a938086 --- /dev/null +++ b/src/typings/platformsAccount/deleteLegalArrangementRequest.ts @@ -0,0 +1,40 @@ +/* + * The version of the OpenAPI document: v6 + * Contact: developer-experience@adyen.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit this class manually. + */ + +import { LegalArrangementRequest } from './legalArrangementRequest'; + +export class DeleteLegalArrangementRequest { + /** + * The code of the account holder. + */ + 'accountHolderCode': string; + /** + * List of legal arrangements. + */ + 'legalArrangements': Array; + + static discriminator: string | undefined = undefined; + + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ + { + "name": "accountHolderCode", + "baseName": "accountHolderCode", + "type": "string" + }, + { + "name": "legalArrangements", + "baseName": "legalArrangements", + "type": "Array" + } ]; + + static getAttributeTypeMap() { + return DeleteLegalArrangementRequest.attributeTypeMap; + } +} + diff --git a/src/typings/platformsAccount/documentDetail.ts b/src/typings/platformsAccount/documentDetail.ts index ad21396..109ee82 100644 --- a/src/typings/platformsAccount/documentDetail.ts +++ b/src/typings/platformsAccount/documentDetail.ts @@ -14,7 +14,7 @@ export class DocumentDetail { */ 'accountHolderCode': string; /** - * The Adyen-generated [`bankAccountUUID`](https://docs.adyen.com/api-explorer/#/Account/latest/post/createAccountHolder__resParam_accountHolderDetails-bankAccountDetails-bankAccountUUID) to which the document must be linked. Refer to [Bank account check](https://docs.adyen.com/platforms/verification-checks/bank-account-check#uploading-a-bank-statement) for details on when a document should be submitted. >Required if the `documentType` is **BANK_STATEMENT**, where a document is being submitted in order to verify a bank account. + * The Adyen-generated [`bankAccountUUID`](https://docs.adyen.com/api-explorer/#/Account/latest/post/createAccountHolder__resParam_accountHolderDetails-bankAccountDetails-bankAccountUUID) to which the document must be linked. Refer to [Bank account check](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-checks/bank-account-check#uploading-a-bank-statement) for details on when a document should be submitted. >Required if the `documentType` is **BANK_STATEMENT**, where a document is being submitted in order to verify a bank account. */ 'bankAccountUUID'?: string; /** @@ -22,7 +22,7 @@ export class DocumentDetail { */ 'description'?: string; /** - * The type of the document. Refer to [Verification checks](https://docs.adyen.com/platforms/verification-checks) for details on when each document type should be submitted and for the accepted file formats. Permitted values: * **BANK_STATEMENT**: A file containing a bank statement or other document proving ownership of a specific bank account. * **COMPANY_REGISTRATION_SCREENING** (Supported from v5 and later): A file containing a company registration document. * **CONSTITUTIONAL_DOCUMENT**: A file containing information about the account holder\'s legal arrangement. * **PASSPORT**: A file containing the identity page(s) of a passport. * **ID_CARD_FRONT**: A file containing only the front of the ID card. In order for a document to be usable, both the **ID_CARD_FRONT** and **ID_CARD_BACK** must be submitted. * **ID_CARD_BACK**: A file containing only the back of the ID card. In order for a document to be usable, both the **ID_CARD_FRONT** and **ID_CARD_BACK** must be submitted. * **DRIVING_LICENCE_FRONT**: A file containing only the front of the driving licence. In order for a document to be usable, both the **DRIVING_LICENCE_FRONT** and **DRIVING_LICENCE_BACK** must be submitted. * **DRIVING_LICENCE_BACK**: A file containing only the back of the driving licence. In order for a document to be usable, both the **DRIVING_LICENCE_FRONT** and **DRIVING_LICENCE_FRONT** must be submitted. + * The type of the document. Refer to [Verification checks](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-checks) for details on when each document type should be submitted and for the accepted file formats. Permitted values: * **BANK_STATEMENT**: A file containing a bank statement or other document proving ownership of a specific bank account. * **COMPANY_REGISTRATION_SCREENING** (Supported from v5 and later): A file containing a company registration document. * **CONSTITUTIONAL_DOCUMENT**: A file containing information about the account holder\'s legal arrangement. * **PASSPORT**: A file containing the identity page(s) of a passport. * **ID_CARD_FRONT**: A file containing only the front of the ID card. In order for a document to be usable, both the **ID_CARD_FRONT** and **ID_CARD_BACK** must be submitted. * **ID_CARD_BACK**: A file containing only the back of the ID card. In order for a document to be usable, both the **ID_CARD_FRONT** and **ID_CARD_BACK** must be submitted. * **DRIVING_LICENCE_FRONT**: A file containing only the front of the driving licence. In order for a document to be usable, both the **DRIVING_LICENCE_FRONT** and **DRIVING_LICENCE_BACK** must be submitted. * **DRIVING_LICENCE_BACK**: A file containing only the back of the driving licence. In order for a document to be usable, both the **DRIVING_LICENCE_FRONT** and **DRIVING_LICENCE_FRONT** must be submitted. */ 'documentType': DocumentDetail.DocumentTypeEnum; /** @@ -38,7 +38,7 @@ export class DocumentDetail { */ 'legalArrangementEntityCode'?: string; /** - * The Adyen-generated [`shareholderCode`](https://docs.adyen.com/api-explorer/#/Account/latest/post/createAccountHolder__resParam_accountHolderDetails-businessDetails-shareholders-shareholderCode) to which the document must be linked. Refer to [Verification checks](https://docs.adyen.com/platforms/verification-checks) for details on when a document should be submitted. >Required if the account holder has a `legalEntity` of type **Business** and the `documentType` is either **PASSPORT**, **ID_CARD_FRONT**, **ID_CARD_BACK**, **DRIVING_LICENCE_FRONT**, or **DRIVING_LICENCE_BACK**. + * The Adyen-generated [`shareholderCode`](https://docs.adyen.com/api-explorer/#/Account/latest/post/createAccountHolder__resParam_accountHolderDetails-businessDetails-shareholders-shareholderCode) to which the document must be linked. Refer to [Verification checks](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-checks) for details on when a document should be submitted. >Required if the account holder has a `legalEntity` of type **Business** and the `documentType` is either **PASSPORT**, **ID_CARD_FRONT**, **ID_CARD_BACK**, **DRIVING_LICENCE_FRONT**, or **DRIVING_LICENCE_BACK**. */ 'shareholderCode'?: string; /** diff --git a/src/typings/platformsAccount/fieldType.ts b/src/typings/platformsAccount/fieldType.ts index 487bf1b..dc8b4c9 100644 --- a/src/typings/platformsAccount/fieldType.ts +++ b/src/typings/platformsAccount/fieldType.ts @@ -94,6 +94,7 @@ export namespace FieldType { DoingBusinessAs = 'doingBusinessAs', DrivingLicence = 'drivingLicence', DrivingLicenceBack = 'drivingLicenceBack', + DrivingLicenceFront = 'drivingLicenceFront', DrivingLicense = 'drivingLicense', Email = 'email', FirstName = 'firstName', @@ -128,8 +129,10 @@ export namespace FieldType { LegalBusinessName = 'legalBusinessName', LegalEntity = 'legalEntity', LegalEntityType = 'legalEntityType', + Logo = 'logo', MerchantAccount = 'merchantAccount', MerchantCategoryCode = 'merchantCategoryCode', + MerchantHouseNumber = 'merchantHouseNumber', MerchantReference = 'merchantReference', MicroDeposit = 'microDeposit', Name = 'name', diff --git a/src/typings/platformsAccount/kYCCheckSummary.ts b/src/typings/platformsAccount/kYCCheckSummary.ts index 9fed6f5..d927ab1 100644 --- a/src/typings/platformsAccount/kYCCheckSummary.ts +++ b/src/typings/platformsAccount/kYCCheckSummary.ts @@ -10,7 +10,7 @@ export class KYCCheckSummary { /** - * The code of the check. For possible values, refer to [Verification codes](https://docs.adyen.com/platforms/verification-codes). + * The code of the check. For possible values, refer to [Verification codes](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/verification-codes). */ 'kycCheckCode'?: number; /** diff --git a/src/typings/platformsAccount/legalArrangementDetail.ts b/src/typings/platformsAccount/legalArrangementDetail.ts index e619788..e97ea4c 100644 --- a/src/typings/platformsAccount/legalArrangementDetail.ts +++ b/src/typings/platformsAccount/legalArrangementDetail.ts @@ -13,7 +13,7 @@ import { ViasAddress } from './viasAddress'; export class LegalArrangementDetail { 'address': ViasAddress; /** - * Adyen-generated unique alphanumeric identifier (UUID) for the entry, returned in the response when you create a legal arrangement. Required when updating an existing legal arrangement entry in an `/updateAccountHolder` request. + * Adyen-generated unique alphanumeric identifier (UUID) for the entry, returned in the response when you create a legal arrangement. Use only when updating an account holder. If you include this field when creating an account holder, the request will fail. */ 'legalArrangementCode'?: string; /** @@ -41,7 +41,7 @@ export class LegalArrangementDetail { */ 'taxNumber'?: string; /** - * The [type of legal arrangement](https://docs.adyen.com/platforms/verification-checks/legal-arrangements#types-of-legal-arrangements). Possible values: - **Association** - **Partnership** - **SoleProprietorship** - **Trust** + * The [type of legal arrangement](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/legal-arrangements#types-of-legal-arrangements). Possible values: - **Association** - **Partnership** - **SoleProprietorship** - **Trust** */ 'type': LegalArrangementDetail.TypeEnum; diff --git a/src/typings/platformsAccount/legalArrangementEntityDetail.ts b/src/typings/platformsAccount/legalArrangementEntityDetail.ts index d9e8052..31371f9 100644 --- a/src/typings/platformsAccount/legalArrangementEntityDetail.ts +++ b/src/typings/platformsAccount/legalArrangementEntityDetail.ts @@ -25,7 +25,7 @@ export class LegalArrangementEntityDetail { 'fullPhoneNumber'?: string; 'individualDetails'?: IndividualDetails; /** - * Adyen-generated unique alphanumeric identifier (UUID) for the entry, returned in the response when you create a legal arrangement entity. Required when updating an existing legal arrangement entity entry in an `/updateAccountHolder` request. + * Adyen-generated unique alphanumeric identifier (UUID) for the entry, returned in the response when you create a legal arrangement entity. Use only when updating an account holder. If you include this field when creating an account holder, the request will fail. */ 'legalArrangementEntityCode'?: string; /** diff --git a/src/typings/platformsAccount/legalArrangementRequest.ts b/src/typings/platformsAccount/legalArrangementRequest.ts new file mode 100644 index 0000000..45d080a --- /dev/null +++ b/src/typings/platformsAccount/legalArrangementRequest.ts @@ -0,0 +1,39 @@ +/* + * The version of the OpenAPI document: v6 + * Contact: developer-experience@adyen.com + * + * 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 LegalArrangementRequest { + /** + * The code of the legal arrangement to be deleted. If you also send `legalArrangementEntityCodes`, only the entities listed will be deleted. + */ + 'legalArrangementCode': string; + /** + * List of legal arrangement entities to be deleted. + */ + 'legalArrangementEntityCodes'?: Array; + + static discriminator: string | undefined = undefined; + + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ + { + "name": "legalArrangementCode", + "baseName": "legalArrangementCode", + "type": "string" + }, + { + "name": "legalArrangementEntityCodes", + "baseName": "legalArrangementEntityCodes", + "type": "Array" + } ]; + + static getAttributeTypeMap() { + return LegalArrangementRequest.attributeTypeMap; + } +} + diff --git a/src/typings/platformsAccount/models.ts b/src/typings/platformsAccount/models.ts index 9a20eab..d347da0 100644 --- a/src/typings/platformsAccount/models.ts +++ b/src/typings/platformsAccount/models.ts @@ -27,6 +27,7 @@ export * from './createAccountHolderResponse'; export * from './createAccountRequest'; export * from './createAccountResponse'; export * from './deleteBankAccountRequest'; +export * from './deleteLegalArrangementRequest'; export * from './deletePayoutMethodRequest'; export * from './deleteShareholderRequest'; export * from './deleteSignatoriesRequest'; @@ -54,6 +55,7 @@ export * from './kYCUltimateParentCompanyCheckResult'; export * from './kYCVerificationResult'; export * from './legalArrangementDetail'; export * from './legalArrangementEntityDetail'; +export * from './legalArrangementRequest'; export * from './payoutMethod'; export * from './payoutScheduleResponse'; export * from './performVerificationRequest'; @@ -100,6 +102,7 @@ import { CreateAccountHolderResponse } from './createAccountHolderResponse'; import { CreateAccountRequest } from './createAccountRequest'; import { CreateAccountResponse } from './createAccountResponse'; import { DeleteBankAccountRequest } from './deleteBankAccountRequest'; +import { DeleteLegalArrangementRequest } from './deleteLegalArrangementRequest'; import { DeletePayoutMethodRequest } from './deletePayoutMethodRequest'; import { DeleteShareholderRequest } from './deleteShareholderRequest'; import { DeleteSignatoriesRequest } from './deleteSignatoriesRequest'; @@ -127,6 +130,7 @@ import { KYCUltimateParentCompanyCheckResult } from './kYCUltimateParentCompanyC import { KYCVerificationResult } from './kYCVerificationResult'; import { LegalArrangementDetail } from './legalArrangementDetail'; import { LegalArrangementEntityDetail } from './legalArrangementEntityDetail'; +import { LegalArrangementRequest } from './legalArrangementRequest'; import { PayoutMethod } from './payoutMethod'; import { PayoutScheduleResponse } from './payoutScheduleResponse'; import { PerformVerificationRequest } from './performVerificationRequest'; @@ -222,6 +226,7 @@ let typeMap: {[index: string]: any} = { "CreateAccountRequest": CreateAccountRequest, "CreateAccountResponse": CreateAccountResponse, "DeleteBankAccountRequest": DeleteBankAccountRequest, + "DeleteLegalArrangementRequest": DeleteLegalArrangementRequest, "DeletePayoutMethodRequest": DeletePayoutMethodRequest, "DeleteShareholderRequest": DeleteShareholderRequest, "DeleteSignatoriesRequest": DeleteSignatoriesRequest, @@ -249,6 +254,7 @@ let typeMap: {[index: string]: any} = { "KYCVerificationResult": KYCVerificationResult, "LegalArrangementDetail": LegalArrangementDetail, "LegalArrangementEntityDetail": LegalArrangementEntityDetail, + "LegalArrangementRequest": LegalArrangementRequest, "PayoutMethod": PayoutMethod, "PayoutScheduleResponse": PayoutScheduleResponse, "PerformVerificationRequest": PerformVerificationRequest, diff --git a/src/typings/platformsAccount/payoutMethod.ts b/src/typings/platformsAccount/payoutMethod.ts index 84daa65..074cb6c 100644 --- a/src/typings/platformsAccount/payoutMethod.ts +++ b/src/typings/platformsAccount/payoutMethod.ts @@ -10,7 +10,7 @@ export class PayoutMethod { /** - * The [`merchantAccount`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__reqParam_merchantAccount) you used in the `/payments` request when you [saved the account holder\'s card details](https://docs.adyen.com/platforms/payout-to-cards#check-and-store). + * The [`merchantAccount`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__reqParam_merchantAccount) you used in the `/payments` request when you [saved the account holder\'s card details](https://docs.adyen.com/marketplaces-and-platforms/classic/payouts/manual-payout/payout-to-cards#check-and-store). */ 'merchantAccount': string; /** @@ -22,11 +22,11 @@ export class PayoutMethod { */ 'payoutMethodReference'?: string; /** - * The [`recurringDetailReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_additionalData-ResponseAdditionalDataCommon-recurring-recurringDetailReference) returned in the `/payments` response when you [saved the account holder\'s card details](https://docs.adyen.com/platforms/payout-to-cards#check-and-store). + * The [`recurringDetailReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_additionalData-ResponseAdditionalDataCommon-recurring-recurringDetailReference) returned in the `/payments` response when you [saved the account holder\'s card details](https://docs.adyen.com/marketplaces-and-platforms/classic/payouts/manual-payout/payout-to-cards#check-and-store). */ 'recurringDetailReference': string; /** - * The [`shopperReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__reqParam_shopperReference) you sent in the `/payments` request when you [saved the account holder\'s card details](https://docs.adyen.com/platforms/payout-to-cards#check-and-store). + * The [`shopperReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__reqParam_shopperReference) you sent in the `/payments` request when you [saved the account holder\'s card details](https://docs.adyen.com/marketplaces-and-platforms/classic/payouts/manual-payout/payout-to-cards#check-and-store). */ 'shopperReference': string; diff --git a/src/typings/platformsAccount/payoutScheduleResponse.ts b/src/typings/platformsAccount/payoutScheduleResponse.ts index 350ad64..ec9d2af 100644 --- a/src/typings/platformsAccount/payoutScheduleResponse.ts +++ b/src/typings/platformsAccount/payoutScheduleResponse.ts @@ -14,7 +14,7 @@ export class PayoutScheduleResponse { */ 'nextScheduledPayout'?: Date; /** - * The payout schedule of the account. >Permitted values: `DEFAULT`, `HOLD`, `DAILY`, `WEEKLY`, `MONTHLY`. + * The payout schedule of the account. Permitted values: `DEFAULT`, `DAILY`, `DAILY_US`, `DAILY_EU`, `DAILY_AU`, `DAILY_SG`, `WEEKLY`, `WEEKLY_ON_TUE_FRI_MIDNIGHT`, `BIWEEKLY_ON_1ST_AND_15TH_AT_MIDNIGHT`, `MONTHLY`, `HOLD`. */ 'schedule': PayoutScheduleResponse.ScheduleEnum; @@ -40,28 +40,14 @@ export class PayoutScheduleResponse { export namespace PayoutScheduleResponse { export enum ScheduleEnum { BiweeklyOn1StAnd15ThAtMidnight = 'BIWEEKLY_ON_1ST_AND_15TH_AT_MIDNIGHT', - BiweeklyOn1StAnd15ThAtNoon = 'BIWEEKLY_ON_1ST_AND_15TH_AT_NOON', - BiDailyAu = 'BI_DAILY_AU', - BiDailyEu = 'BI_DAILY_EU', - BiDailyUs = 'BI_DAILY_US', Daily = 'DAILY', - Daily6Pm = 'DAILY_6PM', DailyAu = 'DAILY_AU', DailyEu = 'DAILY_EU', DailySg = 'DAILY_SG', DailyUs = 'DAILY_US', - Default = 'DEFAULT', - Every6HoursFromMidnight = 'EVERY_6_HOURS_FROM_MIDNIGHT', Hold = 'HOLD', Monthly = 'MONTHLY', - MonthlyOn15ThAtMidnight = 'MONTHLY_ON_15TH_AT_MIDNIGHT', Weekly = 'WEEKLY', - WeeklyMonToFriAu = 'WEEKLY_MON_TO_FRI_AU', - WeeklyMonToFriEu = 'WEEKLY_MON_TO_FRI_EU', - WeeklyMonToFriUs = 'WEEKLY_MON_TO_FRI_US', - WeeklyOnTueFriMidnight = 'WEEKLY_ON_TUE_FRI_MIDNIGHT', - WeeklySunToThuAu = 'WEEKLY_SUN_TO_THU_AU', - WeeklySunToThuUs = 'WEEKLY_SUN_TO_THU_US', - Yearly = 'YEARLY' + WeeklyOnTueFriMidnight = 'WEEKLY_ON_TUE_FRI_MIDNIGHT' } } diff --git a/src/typings/platformsAccount/shareholderContact.ts b/src/typings/platformsAccount/shareholderContact.ts index db07a05..1e1452f 100644 --- a/src/typings/platformsAccount/shareholderContact.ts +++ b/src/typings/platformsAccount/shareholderContact.ts @@ -30,7 +30,7 @@ export class ShareholderContact { 'personalData'?: ViasPersonalData; 'phoneNumber'?: ViasPhoneNumber; /** - * The unique identifier (UUID) of the shareholder entry. >**If, during an Account Holder create or update request, this field is left blank (but other fields provided), a new Shareholder will be created with a procedurally-generated UUID.** >**If, during an Account Holder create request, a UUID is provided, the creation of the Shareholder will fail while the creation of the Account Holder will continue.** >**If, during an Account Holder update request, a UUID that is not correlated with an existing Shareholder is provided, the update of the Shareholder will fail.** >**If, during an Account Holder update request, a UUID that is correlated with an existing Shareholder is provided, the existing Shareholder will be updated.** + * The unique identifier (UUID) of the shareholder entry. >**If, during an Account Holder create or update request, this field is left blank (but other fields provided), a new Shareholder will be created with a procedurally-generated UUID.** >**If, during an Account Holder create request, a UUID is provided, the creation of Account Holder will fail with a validation Error..** >**If, during an Account Holder update request, a UUID that is not correlated with an existing Shareholder is provided, the update of the Shareholder will fail.** >**If, during an Account Holder update request, a UUID that is correlated with an existing Shareholder is provided, the existing Shareholder will be updated.** */ 'shareholderCode'?: string; /** diff --git a/src/typings/platformsAccount/storeDetail.ts b/src/typings/platformsAccount/storeDetail.ts index 9c6e9c9..43dda0b 100644 --- a/src/typings/platformsAccount/storeDetail.ts +++ b/src/typings/platformsAccount/storeDetail.ts @@ -17,6 +17,10 @@ export class StoreDetail { */ 'fullPhoneNumber'?: string; /** + * Store logo for payment method setup. + */ + 'logo'?: string; + /** * The merchant account to which the store belongs. */ 'merchantAccount': string; @@ -24,6 +28,10 @@ export class StoreDetail { * The merchant category code (MCC) that classifies the business of the account holder. */ 'merchantCategoryCode': string; + /** + * Merchant house number for payment method setup. + */ + 'merchantHouseNumber'?: string; 'phoneNumber'?: ViasPhoneNumber; /** * The sales channel. Possible values: **Ecommerce**, **POS**. @@ -71,6 +79,11 @@ export class StoreDetail { "baseName": "fullPhoneNumber", "type": "string" }, + { + "name": "logo", + "baseName": "logo", + "type": "string" + }, { "name": "merchantAccount", "baseName": "merchantAccount", @@ -81,6 +94,11 @@ export class StoreDetail { "baseName": "merchantCategoryCode", "type": "string" }, + { + "name": "merchantHouseNumber", + "baseName": "merchantHouseNumber", + "type": "string" + }, { "name": "phoneNumber", "baseName": "phoneNumber", diff --git a/src/typings/platformsAccount/updatePayoutScheduleRequest.ts b/src/typings/platformsAccount/updatePayoutScheduleRequest.ts index adbb1a8..1c564d7 100644 --- a/src/typings/platformsAccount/updatePayoutScheduleRequest.ts +++ b/src/typings/platformsAccount/updatePayoutScheduleRequest.ts @@ -54,28 +54,14 @@ export namespace UpdatePayoutScheduleRequest { } export enum ScheduleEnum { BiweeklyOn1StAnd15ThAtMidnight = 'BIWEEKLY_ON_1ST_AND_15TH_AT_MIDNIGHT', - BiweeklyOn1StAnd15ThAtNoon = 'BIWEEKLY_ON_1ST_AND_15TH_AT_NOON', - BiDailyAu = 'BI_DAILY_AU', - BiDailyEu = 'BI_DAILY_EU', - BiDailyUs = 'BI_DAILY_US', Daily = 'DAILY', - Daily6Pm = 'DAILY_6PM', DailyAu = 'DAILY_AU', DailyEu = 'DAILY_EU', DailySg = 'DAILY_SG', DailyUs = 'DAILY_US', - Default = 'DEFAULT', - Every6HoursFromMidnight = 'EVERY_6_HOURS_FROM_MIDNIGHT', Hold = 'HOLD', Monthly = 'MONTHLY', - MonthlyOn15ThAtMidnight = 'MONTHLY_ON_15TH_AT_MIDNIGHT', Weekly = 'WEEKLY', - WeeklyMonToFriAu = 'WEEKLY_MON_TO_FRI_AU', - WeeklyMonToFriEu = 'WEEKLY_MON_TO_FRI_EU', - WeeklyMonToFriUs = 'WEEKLY_MON_TO_FRI_US', - WeeklyOnTueFriMidnight = 'WEEKLY_ON_TUE_FRI_MIDNIGHT', - WeeklySunToThuAu = 'WEEKLY_SUN_TO_THU_AU', - WeeklySunToThuUs = 'WEEKLY_SUN_TO_THU_US', - Yearly = 'YEARLY' + WeeklyOnTueFriMidnight = 'WEEKLY_ON_TUE_FRI_MIDNIGHT' } } diff --git a/src/typings/platformsAccount/uploadDocumentRequest.ts b/src/typings/platformsAccount/uploadDocumentRequest.ts index 61f5bb0..759b5d1 100644 --- a/src/typings/platformsAccount/uploadDocumentRequest.ts +++ b/src/typings/platformsAccount/uploadDocumentRequest.ts @@ -11,7 +11,7 @@ import { DocumentDetail } from './documentDetail'; export class UploadDocumentRequest { /** - * The content of the document, in Base64-encoded string format. To learn about document requirements, refer to [Verification checks](https://docs.adyen.com/platforms/verification-checks). + * The content of the document, in Base64-encoded string format. To learn about document requirements, refer to [Verification checks](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-checks). */ 'documentContent': string; 'documentDetail': DocumentDetail; diff --git a/src/typings/platformsFund/accountHolderTransactionListRequest.ts b/src/typings/platformsFund/accountHolderTransactionListRequest.ts index e3fef14..7b06f44 100644 --- a/src/typings/platformsFund/accountHolderTransactionListRequest.ts +++ b/src/typings/platformsFund/accountHolderTransactionListRequest.ts @@ -50,6 +50,8 @@ export class AccountHolderTransactionListRequest { export namespace AccountHolderTransactionListRequest { export enum TransactionStatusesEnum { BalanceNotPaidOutTransfer = 'BalanceNotPaidOutTransfer', + BalancePlatformSweep = 'BalancePlatformSweep', + BalancePlatfromSweepReturned = 'BalancePlatfromSweepReturned', Chargeback = 'Chargeback', ChargebackCorrection = 'ChargebackCorrection', ChargebackCorrectionReceived = 'ChargebackCorrectionReceived', diff --git a/src/typings/platformsFund/bankAccountDetail.ts b/src/typings/platformsFund/bankAccountDetail.ts index f940e97..45b0981 100644 --- a/src/typings/platformsFund/bankAccountDetail.ts +++ b/src/typings/platformsFund/bankAccountDetail.ts @@ -10,11 +10,11 @@ export class BankAccountDetail { /** - * The bank account number (without separators). >Refer to the [Onboarding and verification](https://docs.adyen.com/platforms/onboarding-and-verification) section for details on field requirements. + * The bank account number (without separators). >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements. */ 'accountNumber'?: string; /** - * The type of bank account. Only applicable to bank accounts held in the USA. The permitted values are: `checking`, `savings`. >Refer to the [Onboarding and verification](https://docs.adyen.com/platforms/onboarding-and-verification) section for details on field requirements. + * The type of bank account. Only applicable to bank accounts held in the USA. The permitted values are: `checking`, `savings`. >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements. */ 'accountType'?: string; /** @@ -30,47 +30,47 @@ export class BankAccountDetail { */ 'bankAccountUUID'?: string; /** - * The bank identifier code. >Refer to the [Onboarding and verification](https://docs.adyen.com/platforms/onboarding-and-verification) section for details on field requirements. + * The bank identifier code. >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements. */ 'bankBicSwift'?: string; /** - * The city in which the bank branch is located. >Refer to the [Onboarding and verification](https://docs.adyen.com/platforms/onboarding-and-verification) section for details on field requirements. + * The city in which the bank branch is located. >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements. */ 'bankCity'?: string; /** - * The bank code of the banking institution with which the bank account is registered. >Refer to the [Onboarding and verification](https://docs.adyen.com/platforms/onboarding-and-verification) section for details on field requirements. + * The bank code of the banking institution with which the bank account is registered. >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements. */ 'bankCode'?: string; /** - * The name of the banking institution with which the bank account is held. >Refer to the [Onboarding and verification](https://docs.adyen.com/platforms/onboarding-and-verification) section for details on field requirements. + * The name of the banking institution with which the bank account is held. >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements. */ 'bankName'?: string; /** - * The branch code of the branch under which the bank account is registered. The value to be specified in this parameter depends on the country of the bank account: * United States - Routing number * United Kingdom - Sort code * Germany - Bankleitzahl >Refer to the [Onboarding and verification](https://docs.adyen.com/platforms/onboarding-and-verification) section for details on field requirements. + * The branch code of the branch under which the bank account is registered. The value to be specified in this parameter depends on the country of the bank account: * United States - Routing number * United Kingdom - Sort code * Germany - Bankleitzahl >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements. */ 'branchCode'?: string; /** - * The check code of the bank account. >Refer to the [Onboarding and verification](https://docs.adyen.com/platforms/onboarding-and-verification) section for details on field requirements. + * The check code of the bank account. >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements. */ 'checkCode'?: string; /** - * The two-letter country code in which the bank account is registered. >The permitted country codes are defined in ISO-3166-1 alpha-2 (e.g. \'NL\'). >Refer to the [Onboarding and verification](https://docs.adyen.com/platforms/onboarding-and-verification) section for details on field requirements. + * The two-letter country code in which the bank account is registered. >The permitted country codes are defined in ISO-3166-1 alpha-2 (e.g. \'NL\'). >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements. */ 'countryCode'?: string; /** - * The currency in which the bank account deals. >The permitted currency codes are defined in ISO-4217 (e.g. \'EUR\'). >Refer to the [Onboarding and verification](https://docs.adyen.com/platforms/onboarding-and-verification) section for details on field requirements. + * The currency in which the bank account deals. >The permitted currency codes are defined in ISO-4217 (e.g. \'EUR\'). */ 'currencyCode'?: string; /** - * The international bank account number. >The IBAN standard is defined in ISO-13616. >Refer to the [Onboarding and verification](https://docs.adyen.com/platforms/onboarding-and-verification) section for details on field requirements. + * The international bank account number. >The IBAN standard is defined in ISO-13616. >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements. */ 'iban'?: string; /** - * The city of residence of the bank account owner. >Refer to the [Onboarding and verification](https://docs.adyen.com/platforms/onboarding-and-verification) section for details on field requirements. + * The city of residence of the bank account owner. >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements. */ 'ownerCity'?: string; /** - * The country code of the country of residence of the bank account owner. >The permitted country codes are defined in ISO-3166-1 alpha-2 (e.g. \'NL\'). >Refer to the [Onboarding and verification](https://docs.adyen.com/platforms/onboarding-and-verification) section for details on field requirements. + * The country code of the country of residence of the bank account owner. >The permitted country codes are defined in ISO-3166-1 alpha-2 (e.g. \'NL\'). >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements. */ 'ownerCountryCode'?: string; /** @@ -78,27 +78,27 @@ export class BankAccountDetail { */ 'ownerDateOfBirth'?: string; /** - * The house name or number of the residence of the bank account owner. >Refer to the [Onboarding and verification](https://docs.adyen.com/platforms/onboarding-and-verification) section for details on field requirements. + * The house name or number of the residence of the bank account owner. >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements. */ 'ownerHouseNumberOrName'?: string; /** - * The name of the bank account owner. >Refer to the [Onboarding and verification](https://docs.adyen.com/platforms/onboarding-and-verification) section for details on field requirements. + * The name of the bank account owner. >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements. */ 'ownerName'?: string; /** - * The country code of the country of nationality of the bank account owner. >The permitted country codes are defined in ISO-3166-1 alpha-2 (e.g. \'NL\'). >Refer to the [Onboarding and verification](https://docs.adyen.com/platforms/onboarding-and-verification) section for details on field requirements. + * The country code of the country of nationality of the bank account owner. >The permitted country codes are defined in ISO-3166-1 alpha-2 (e.g. \'NL\'). >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements. */ 'ownerNationality'?: string; /** - * The postal code of the residence of the bank account owner. >Refer to the [Onboarding and verification](https://docs.adyen.com/platforms/onboarding-and-verification) section for details on field requirements. + * The postal code of the residence of the bank account owner. >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements. */ 'ownerPostalCode'?: string; /** - * The state of residence of the bank account owner. >Refer to the [Onboarding and verification](https://docs.adyen.com/platforms/onboarding-and-verification) section for details on field requirements. + * The state of residence of the bank account owner. >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements. */ 'ownerState'?: string; /** - * The street name of the residence of the bank account owner. >Refer to the [Onboarding and verification](https://docs.adyen.com/platforms/onboarding-and-verification) section for details on field requirements. + * The street name of the residence of the bank account owner. >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements. */ 'ownerStreet'?: string; /** @@ -106,11 +106,11 @@ export class BankAccountDetail { */ 'primaryAccount'?: boolean; /** - * The tax ID number. >Refer to the [Onboarding and verification](https://docs.adyen.com/platforms/onboarding-and-verification) section for details on field requirements. + * The tax ID number. >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements. */ 'taxId'?: string; /** - * The URL to be used for bank account verification. This may be generated on bank account creation. >Refer to the [Onboarding and verification](https://docs.adyen.com/platforms/onboarding-and-verification) section for details on field requirements. + * The URL to be used for bank account verification. This may be generated on bank account creation. >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements. */ 'urlForVerification'?: string; diff --git a/src/typings/platformsFund/fieldType.ts b/src/typings/platformsFund/fieldType.ts index 487bf1b..dc8b4c9 100644 --- a/src/typings/platformsFund/fieldType.ts +++ b/src/typings/platformsFund/fieldType.ts @@ -94,6 +94,7 @@ export namespace FieldType { DoingBusinessAs = 'doingBusinessAs', DrivingLicence = 'drivingLicence', DrivingLicenceBack = 'drivingLicenceBack', + DrivingLicenceFront = 'drivingLicenceFront', DrivingLicense = 'drivingLicense', Email = 'email', FirstName = 'firstName', @@ -128,8 +129,10 @@ export namespace FieldType { LegalBusinessName = 'legalBusinessName', LegalEntity = 'legalEntity', LegalEntityType = 'legalEntityType', + Logo = 'logo', MerchantAccount = 'merchantAccount', MerchantCategoryCode = 'merchantCategoryCode', + MerchantHouseNumber = 'merchantHouseNumber', MerchantReference = 'merchantReference', MicroDeposit = 'microDeposit', Name = 'name', diff --git a/src/typings/platformsFund/payoutAccountHolderRequest.ts b/src/typings/platformsFund/payoutAccountHolderRequest.ts index 8bbcb4e..ab4a61f 100644 --- a/src/typings/platformsFund/payoutAccountHolderRequest.ts +++ b/src/typings/platformsFund/payoutAccountHolderRequest.ts @@ -24,7 +24,7 @@ export class PayoutAccountHolderRequest { */ 'bankAccountUUID'?: string; /** - * A description of the payout. Maximum 35 characters. Allowed: **abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789/?:().,\'+ \";** + * A description of the payout. Maximum 200 characters. Allowed: **abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789/?:().,\'+ \";** */ 'description'?: string; /** diff --git a/src/typings/platformsFund/transaction.ts b/src/typings/platformsFund/transaction.ts index 6f92cca..83e7e3a 100644 --- a/src/typings/platformsFund/transaction.ts +++ b/src/typings/platformsFund/transaction.ts @@ -162,6 +162,8 @@ export class Transaction { export namespace Transaction { export enum TransactionStatusEnum { BalanceNotPaidOutTransfer = 'BalanceNotPaidOutTransfer', + BalancePlatformSweep = 'BalancePlatformSweep', + BalancePlatfromSweepReturned = 'BalancePlatfromSweepReturned', Chargeback = 'Chargeback', ChargebackCorrection = 'ChargebackCorrection', ChargebackCorrectionReceived = 'ChargebackCorrectionReceived', diff --git a/src/typings/platformsHostedOnboardingPage/collectInformation.ts b/src/typings/platformsHostedOnboardingPage/collectInformation.ts index 7ed93f6..01735e4 100644 --- a/src/typings/platformsHostedOnboardingPage/collectInformation.ts +++ b/src/typings/platformsHostedOnboardingPage/collectInformation.ts @@ -10,27 +10,27 @@ export class CollectInformation { /** - * Indicates whether [bank account details](https://docs.adyen.com/platforms/verification-checks/bank-account-check) must be collected. Default is **true**. + * Indicates whether [bank account details](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-checks/bank-account-check) must be collected. Default is **true**. */ 'bankDetails'?: boolean; /** - * Indicates whether [business details](https://docs.adyen.com/platforms/verification-checks/company-check) must be collected. Default is **true**. + * Indicates whether [business details](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-checks/company-check) must be collected. Default is **true**. */ 'businessDetails'?: boolean; /** - * Indicates whether [individual details](https://docs.adyen.com/platforms/verification-checks/identity-check) must be collected. Default is **true**. + * Indicates whether [individual details](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-checks/identity-check) must be collected. Default is **true**. */ 'individualDetails'?: boolean; /** - * Indicates whether [legal arrangement details](https://docs.adyen.com/platforms/verification-checks/legal-arrangements) must be collected. Default is **true**. + * Indicates whether [legal arrangement details](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-checks/legal-arrangements) must be collected. Default is **true**. */ 'legalArrangementDetails'?: boolean; /** - * Indicates whether answers to a [PCI questionnaire](https://docs.adyen.com/platforms/platforms-for-partners#onboard-partner-platform) must be collected. Applies only to partner platforms. Default is **true**. + * Indicates whether answers to a [PCI questionnaire](https://docs.adyen.com/marketplaces-and-platforms/classic/platforms-for-partners#onboard-partner-platform) must be collected. Applies only to partner platforms. Default is **true**. */ 'pciQuestionnaire'?: boolean; /** - * Indicates whether [shareholder details](https://docs.adyen.com/platforms/verification-checks/identity-check) must be collected. Defaults to **true**. + * Indicates whether [shareholder details](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-checks/identity-check) must be collected. Defaults to **true**. */ 'shareholderDetails'?: boolean; diff --git a/src/typings/platformsHostedOnboardingPage/fieldType.ts b/src/typings/platformsHostedOnboardingPage/fieldType.ts index 487bf1b..dc8b4c9 100644 --- a/src/typings/platformsHostedOnboardingPage/fieldType.ts +++ b/src/typings/platformsHostedOnboardingPage/fieldType.ts @@ -94,6 +94,7 @@ export namespace FieldType { DoingBusinessAs = 'doingBusinessAs', DrivingLicence = 'drivingLicence', DrivingLicenceBack = 'drivingLicenceBack', + DrivingLicenceFront = 'drivingLicenceFront', DrivingLicense = 'drivingLicense', Email = 'email', FirstName = 'firstName', @@ -128,8 +129,10 @@ export namespace FieldType { LegalBusinessName = 'legalBusinessName', LegalEntity = 'legalEntity', LegalEntityType = 'legalEntityType', + Logo = 'logo', MerchantAccount = 'merchantAccount', MerchantCategoryCode = 'merchantCategoryCode', + MerchantHouseNumber = 'merchantHouseNumber', MerchantReference = 'merchantReference', MicroDeposit = 'microDeposit', Name = 'name', diff --git a/src/typings/platformsHostedOnboardingPage/getOnboardingUrlRequest.ts b/src/typings/platformsHostedOnboardingPage/getOnboardingUrlRequest.ts index 26ddef8..ada320a 100644 --- a/src/typings/platformsHostedOnboardingPage/getOnboardingUrlRequest.ts +++ b/src/typings/platformsHostedOnboardingPage/getOnboardingUrlRequest.ts @@ -29,7 +29,7 @@ export class GetOnboardingUrlRequest { */ 'returnUrl'?: string; /** - * The language to be used in the page, specified by a combination of a language and country code. For example, **pt-BR**. If not specified in the request or if the language is not supported, the page uses the browser language. If the browser language is not supported, the page uses **en-US** by default. For a list supported languages, refer to [Change the page language](https://docs.adyen.com/platforms/hosted-onboarding-page/customize-experience#change-page-language). + * The language to be used in the page, specified by a combination of a language and country code. For example, **pt-BR**. If not specified in the request or if the language is not supported, the page uses the browser language. If the browser language is not supported, the page uses **en-US** by default. For a list of supported languages, refer to [Change the page language](https://docs.adyen.com/marketplaces-and-platforms/classic/hosted-onboarding-page/customize-experience#change-page-language). */ 'shopperLocale'?: string; 'showPages'?: ShowPages; diff --git a/src/typings/platformsNotificationConfiguration/fieldType.ts b/src/typings/platformsNotificationConfiguration/fieldType.ts index 487bf1b..dc8b4c9 100644 --- a/src/typings/platformsNotificationConfiguration/fieldType.ts +++ b/src/typings/platformsNotificationConfiguration/fieldType.ts @@ -94,6 +94,7 @@ export namespace FieldType { DoingBusinessAs = 'doingBusinessAs', DrivingLicence = 'drivingLicence', DrivingLicenceBack = 'drivingLicenceBack', + DrivingLicenceFront = 'drivingLicenceFront', DrivingLicense = 'drivingLicense', Email = 'email', FirstName = 'firstName', @@ -128,8 +129,10 @@ export namespace FieldType { LegalBusinessName = 'legalBusinessName', LegalEntity = 'legalEntity', LegalEntityType = 'legalEntityType', + Logo = 'logo', MerchantAccount = 'merchantAccount', MerchantCategoryCode = 'merchantCategoryCode', + MerchantHouseNumber = 'merchantHouseNumber', MerchantReference = 'merchantReference', MicroDeposit = 'microDeposit', Name = 'name', diff --git a/src/typings/platformsNotificationConfiguration/notificationConfigurationDetails.ts b/src/typings/platformsNotificationConfiguration/notificationConfigurationDetails.ts index ac846ce..ceb20cf 100644 --- a/src/typings/platformsNotificationConfiguration/notificationConfigurationDetails.ts +++ b/src/typings/platformsNotificationConfiguration/notificationConfigurationDetails.ts @@ -47,7 +47,7 @@ export class NotificationConfigurationDetails { */ 'notifyUsername'?: string; /** - * The SSL protocol employed by the endpoint. >Permitted values: `SSL`, `SSLInsecureCiphers`, `TLS`, `TLSv10`, `TLSv10InsecureCiphers`, `TLSv11`, `TLSv12`. + * The SSL protocol employed by the endpoint. >Permitted values: `TLSv12`, `TLSv13`. */ 'sslProtocol'?: NotificationConfigurationDetails.SslProtocolEnum; @@ -112,12 +112,7 @@ export class NotificationConfigurationDetails { export namespace NotificationConfigurationDetails { export enum SslProtocolEnum { - Ssl = 'SSL', - SslInsecureCiphers = 'SSLInsecureCiphers', - Tls = 'TLS', - Tlsv10 = 'TLSv10', - Tlsv10InsecureCiphers = 'TLSv10InsecureCiphers', - Tlsv11 = 'TLSv11', - Tlsv12 = 'TLSv12' + Tlsv12 = 'TLSv12', + Tlsv13 = 'TLSv13' } } diff --git a/src/typings/platformsNotificationConfiguration/notificationEventConfiguration.ts b/src/typings/platformsNotificationConfiguration/notificationEventConfiguration.ts index d37641f..0a17336 100644 --- a/src/typings/platformsNotificationConfiguration/notificationEventConfiguration.ts +++ b/src/typings/platformsNotificationConfiguration/notificationEventConfiguration.ts @@ -44,6 +44,7 @@ export namespace NotificationEventConfiguration { AccountFundsBelowThreshold = 'ACCOUNT_FUNDS_BELOW_THRESHOLD', AccountHolderCreated = 'ACCOUNT_HOLDER_CREATED', AccountHolderLimitReached = 'ACCOUNT_HOLDER_LIMIT_REACHED', + AccountHolderMigrated = 'ACCOUNT_HOLDER_MIGRATED', AccountHolderPayout = 'ACCOUNT_HOLDER_PAYOUT', AccountHolderStatusChange = 'ACCOUNT_HOLDER_STATUS_CHANGE', AccountHolderStoreStatusChange = 'ACCOUNT_HOLDER_STORE_STATUS_CHANGE', diff --git a/src/typings/platformsNotificationConfiguration/testNotificationConfigurationRequest.ts b/src/typings/platformsNotificationConfiguration/testNotificationConfigurationRequest.ts index 05c14da..38743a2 100644 --- a/src/typings/platformsNotificationConfiguration/testNotificationConfigurationRequest.ts +++ b/src/typings/platformsNotificationConfiguration/testNotificationConfigurationRequest.ts @@ -44,6 +44,7 @@ export namespace TestNotificationConfigurationRequest { AccountFundsBelowThreshold = 'ACCOUNT_FUNDS_BELOW_THRESHOLD', AccountHolderCreated = 'ACCOUNT_HOLDER_CREATED', AccountHolderLimitReached = 'ACCOUNT_HOLDER_LIMIT_REACHED', + AccountHolderMigrated = 'ACCOUNT_HOLDER_MIGRATED', AccountHolderPayout = 'ACCOUNT_HOLDER_PAYOUT', AccountHolderStatusChange = 'ACCOUNT_HOLDER_STATUS_CHANGE', AccountHolderStoreStatusChange = 'ACCOUNT_HOLDER_STORE_STATUS_CHANGE', diff --git a/src/typings/platformsNotificationConfiguration/testNotificationConfigurationResponse.ts b/src/typings/platformsNotificationConfiguration/testNotificationConfigurationResponse.ts index b082bd5..bdab615 100644 --- a/src/typings/platformsNotificationConfiguration/testNotificationConfigurationResponse.ts +++ b/src/typings/platformsNotificationConfiguration/testNotificationConfigurationResponse.ts @@ -100,6 +100,7 @@ export namespace TestNotificationConfigurationResponse { AccountFundsBelowThreshold = 'ACCOUNT_FUNDS_BELOW_THRESHOLD', AccountHolderCreated = 'ACCOUNT_HOLDER_CREATED', AccountHolderLimitReached = 'ACCOUNT_HOLDER_LIMIT_REACHED', + AccountHolderMigrated = 'ACCOUNT_HOLDER_MIGRATED', AccountHolderPayout = 'ACCOUNT_HOLDER_PAYOUT', AccountHolderStatusChange = 'ACCOUNT_HOLDER_STATUS_CHANGE', AccountHolderStoreStatusChange = 'ACCOUNT_HOLDER_STORE_STATUS_CHANGE', diff --git a/src/typings/recurring/serviceError.ts b/src/typings/recurring/serviceError.ts index 551936c..c89df83 100644 --- a/src/typings/recurring/serviceError.ts +++ b/src/typings/recurring/serviceError.ts @@ -10,7 +10,7 @@ export class ServiceError { /** - * Contains additional information about the payment. Some data fields are included only if you select them first: Go to **Customer Area** > **Account** > **API URLs**. + * Contains additional information about the payment. Some data fields are included only if you select them first. Go to **Customer Area** > **Developers** > **Additional data**. */ 'additionalData'?: { [key: string]: string; }; /** diff --git a/src/typings/storedValue/serviceError.ts b/src/typings/storedValue/serviceError.ts index be1dffb..c99e004 100644 --- a/src/typings/storedValue/serviceError.ts +++ b/src/typings/storedValue/serviceError.ts @@ -10,7 +10,7 @@ export class ServiceError { /** - * Contains additional information about the payment. Some data fields are included only if you select them first: Go to **Customer Area** > **Account** > **API URLs**. + * Contains additional information about the payment. Some data fields are included only if you select them first. Go to **Customer Area** > **Developers** > **Additional data**. */ 'additionalData'?: { [key: string]: string; }; /** diff --git a/src/typings/transfer/bankAccountV3AccountIdentification.ts b/src/typings/transfer/bankAccountV3AccountIdentification.ts deleted file mode 100644 index 3066007..0000000 --- a/src/typings/transfer/bankAccountV3AccountIdentification.ts +++ /dev/null @@ -1,150 +0,0 @@ -/* - * The version of the OpenAPI document: v3 - * Contact: developer-experience@adyen.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit this class manually. - */ - -import { AULocalAccountIdentification } from './aULocalAccountIdentification'; -import { AdditionalBankIdentification } from './additionalBankIdentification'; -import { BRLocalAccountIdentification } from './bRLocalAccountIdentification'; -import { CZLocalAccountIdentification } from './cZLocalAccountIdentification'; -import { HULocalAccountIdentification } from './hULocalAccountIdentification'; -import { IbanAccountIdentification } from './ibanAccountIdentification'; -import { NOLocalAccountIdentification } from './nOLocalAccountIdentification'; -import { NumberAndBicAccountIdentification } from './numberAndBicAccountIdentification'; -import { PLLocalAccountIdentification } from './pLLocalAccountIdentification'; -import { SELocalAccountIdentification } from './sELocalAccountIdentification'; -import { UKLocalAccountIdentification } from './uKLocalAccountIdentification'; -import { USLocalAccountIdentification } from './uSLocalAccountIdentification'; - -/** -* Contains the bank account details. The fields required in this object depend on the country of the bank account and the currency of the transfer. -*/ -export class BankAccountV3AccountIdentification { - /** - * The bank account number (without separators or whitespace). - */ - 'accountNumber': string; - /** - * The 6-digit [Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch) (without separators or whitespace). - */ - 'bsbCode': string; - /** - * **usLocal** - */ - 'type': BankAccountV3AccountIdentification.TypeEnum; - /** - * The 4-digit bank code (Kód banky) (without separators or whitespace). - */ - 'bankCode': string; - /** - * The bank account branch number (without separators or whitespace). - */ - 'branchNumber': string; - /** - * The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard. - */ - 'iban': string; - 'additionalBankIdentification'?: AdditionalBankIdentification; - /** - * The bank\'s 8 or 11 character BIC or SWIFT code. - */ - 'bic': string; - /** - * The 4– to 5-digit clearing number ([Clearingnummer](https://sv.wikipedia.org/wiki/Clearingnummer)) (without separators or whitespace). - */ - 'clearingNumber': string; - /** - * The 6-digit [sort code](https://en.wikipedia.org/wiki/Sort_code) (without separators or whitespace). - */ - 'sortCode': string; - /** - * The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**. - */ - 'accountType'?: BankAccountV3AccountIdentification.AccountTypeEnum; - /** - * The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number) (without separators or whitespace). - */ - 'routingNumber': string; - - static discriminator: string | undefined = "type"; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "accountNumber", - "baseName": "accountNumber", - "type": "string" - }, - { - "name": "bsbCode", - "baseName": "bsbCode", - "type": "string" - }, - { - "name": "type", - "baseName": "type", - "type": "BankAccountV3AccountIdentification.TypeEnum" - }, - { - "name": "bankCode", - "baseName": "bankCode", - "type": "string" - }, - { - "name": "branchNumber", - "baseName": "branchNumber", - "type": "string" - }, - { - "name": "iban", - "baseName": "iban", - "type": "string" - }, - { - "name": "additionalBankIdentification", - "baseName": "additionalBankIdentification", - "type": "AdditionalBankIdentification" - }, - { - "name": "bic", - "baseName": "bic", - "type": "string" - }, - { - "name": "clearingNumber", - "baseName": "clearingNumber", - "type": "string" - }, - { - "name": "sortCode", - "baseName": "sortCode", - "type": "string" - }, - { - "name": "accountType", - "baseName": "accountType", - "type": "BankAccountV3AccountIdentification.AccountTypeEnum" - }, - { - "name": "routingNumber", - "baseName": "routingNumber", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return BankAccountV3AccountIdentification.attributeTypeMap; - } -} - -export namespace BankAccountV3AccountIdentification { - export enum TypeEnum { - UsLocal = 'usLocal' - } - export enum AccountTypeEnum { - Checking = 'checking', - Savings = 'savings' - } -}