[create-pull-request] automated change (#980)

This commit is contained in:
AdyenAutomationBot
2022-10-28 16:28:50 +02:00
committed by GitHub
parent a298fa84fb
commit 50548c1857
130 changed files with 715 additions and 922 deletions

View File

@@ -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;
/**

View File

@@ -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<CapabilityProblem>;
'problems'?: Array<any>;
/**
* 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<CapabilityProblem>"
"type": "Array<any>"
},
{
"name": "requested",

View File

@@ -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;
/**

View File

@@ -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;
}
}

View File

@@ -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<VerificationError>;
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<VerificationError>"
} ];
static getAttributeTypeMap() {
return CapabilityProblem.attributeTypeMap;
}
}

View File

@@ -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 = <any> 'BankAccount',
Document = <any> 'Document',
LegalEntity = <any> 'LegalEntity'
}
}

View File

@@ -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 = <any> 'BankAccount',
Document = <any> 'Document',
LegalEntity = <any> 'LegalEntity'
}
}

View File

@@ -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;

View File

@@ -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;

View File

@@ -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: **&ast;**, **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 = <any> 'daily',
Weekly = <any> 'weekly',
Monthly = <any> 'monthly',
Balance = <any> 'balance',
Cron = <any> 'cron'
}
}

View File

@@ -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.

View File

@@ -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<EntryModesRestriction.ValueEnum>;
@@ -47,7 +47,6 @@ export namespace EntryModesRestriction {
Manual = <any> 'manual',
Ocr = <any> 'ocr',
Server = <any> 'server',
Token = <any> 'token',
Unknown = <any> 'unknown'
}
}

View File

@@ -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,

View File

@@ -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 = <any> 'suspectedFraud'
}
export enum TypeEnum {
BankAccount = <any> 'bankAccount',
Card = <any> 'card'
}
}

View File

@@ -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 = <any> 'suspectedFraud'
}
export enum TypeEnum {
BankAccount = <any> 'bankAccount',
Card = <any> 'card'
}
}

View File

@@ -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;
/**

View File

@@ -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<ProcessingTypesRestriction.ValueEnum>;
@@ -44,7 +44,6 @@ export namespace ProcessingTypesRestriction {
Ecommerce = <any> 'ecommerce',
Moto = <any> 'moto',
Pos = <any> 'pos',
PurchaseWithCashback = <any> 'purchaseWithCashback',
Recurring = <any> 'recurring',
Token = <any> 'token',
Unknown = <any> 'unknown'

View File

@@ -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() {

View File

@@ -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",

View File

@@ -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 = <any> 'daily',
Weekly = <any> 'weekly',
Monthly = <any> 'monthly',
Balance = <any> 'balance'
Balance = <any> 'balance',
Cron = <any> 'cron'
}
}

View File

@@ -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;

View File

@@ -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;

View File

@@ -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; };
/**

View File

@@ -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;

View File

@@ -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<Split>;
/**
* 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;
/**

View File

@@ -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 = <any> 'bankTransfer'
}
}

View File

@@ -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 = <any> 'donate'
}
}

View File

@@ -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 = <any> 'oneTimePasscode'
}
}

View File

@@ -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<Split>;

View File

@@ -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<Split>;

View File

@@ -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<Split>;
/**
@@ -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;

View File

@@ -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<Split>;

View File

@@ -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,

View File

@@ -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<Split>;
/**

View File

@@ -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<Split>;
/**

View File

@@ -61,6 +61,7 @@ export namespace PaymentDetails {
MolpayEbankingVn = <any> 'molpay_ebanking_VN',
OnlineBankingPl = <any> 'onlineBanking_PL',
OpenbankingUk = <any> 'openbanking_UK',
Paybybank = <any> 'paybybank',
EbankingFi = <any> 'ebanking_FI',
MolpayEbankingMy = <any> 'molpay_ebanking_MY',
MolpayEbankingDirectMy = <any> 'molpay_ebanking_direct_MY',

View File

@@ -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<Split>;
/**
* 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;
/**

View File

@@ -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<Split>;
/**
@@ -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;
/**

View File

@@ -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;

View File

@@ -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<Split>;
/**

View File

@@ -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<Split>;
/**
* 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;
/**

View File

@@ -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",

View File

@@ -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<Split>;
/**
* 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;
/**

View File

@@ -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 = <any> 'GET',
Post = <any> 'POST'
}
}

View File

@@ -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 = <any> 'GREEN',
Fraud = <any> 'FRAUD'
}
export enum MerchantAdviceCodeEnum {
_01NewAccountInformationAvailable = <any> '01: New account information available',
_02CannotApproveAtThisTimeTryAgainLater = <any> '02: Cannot approve at this time, try again later',
_03DoNotTryAgain = <any> '03: Do not try again',
_04TokenRequirementsNotFulfilledForThisTokenType = <any> '04: Token requirements not fulfilled for this token type',
_21PaymentCancellation = <any> '21: Payment Cancellation'
}
export enum RecurringProcessingModelEnum {
CardOnFile = <any> 'CardOnFile',
Subscription = <any> 'Subscription',

View File

@@ -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;

View File

@@ -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; };
/**

View File

@@ -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;

View File

@@ -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;

View File

@@ -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<TaxInformation>;
'webData'?: WebData;

View File

@@ -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<OnboardingTheme>;
static discriminator: string | undefined = undefined;

View File

@@ -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**.
*/

View File

@@ -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`.
*/

View File

@@ -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;
/**

View File

@@ -25,7 +25,7 @@ export class CompanyApiCredential {
*/
'allowedOrigins'?: Array<AllowedOrigin>;
/**
* 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<string>;
/**

View File

@@ -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 = <any> 'TLSV1',
Tlsv11 = <any> 'TLSV1_1',
Tlsv12 = <any> 'TLSV1_2',
Tlsv13 = <any> 'TLSV1_3',
Tlsv1InsecureCiphers = <any> 'TLSV1_INSECURE_CIPHERS'
}
}

View File

@@ -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 = <any> 'TLSV1',
Tlsv11 = <any> 'TLSV1_1',
Tlsv12 = <any> 'TLSV1_2',
Tlsv13 = <any> 'TLSV1_3',
Tlsv1InsecureCiphers = <any> 'TLSV1_INSECURE_CIPHERS'
}
}

View File

@@ -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() {

View File

@@ -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<string>;
/**

View File

@@ -12,6 +12,9 @@ import { Store } from './store';
export class ListStoresResponse {
'links'?: PaginationLinks;
/**
* List of stores
*/
'data'?: Array<Store>;
/**
* Total number of items.

View File

@@ -25,7 +25,7 @@ export class MeApiCredential {
*/
'allowedOrigins'?: Array<AllowedOrigin>;
/**
* 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<string>;
/**

View File

@@ -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;

View File

@@ -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,

View File

@@ -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<MinorUnitsMonetaryValue>;

View File

@@ -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",

View File

@@ -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 = <any> 'valid',
Pending = <any> 'pending',
Invalid = <any> 'invalid',
Rejected = <any> 'rejected'
}
}

View File

@@ -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<TerminalActionScheduleDetail>;
/**
* 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<string>;
/**

View File

@@ -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 = <any> 'append',
Dynamic = <any> 'dynamic',
Fixed = <any> 'fixed'
}
}

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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 = <any> 'TLSV1',
Tlsv11 = <any> 'TLSV1_1',
Tlsv12 = <any> 'TLSV1_2',
Tlsv13 = <any> 'TLSV1_3',
Tlsv1InsecureCiphers = <any> 'TLSV1_INSECURE_CIPHERS'
}
}

View File

@@ -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 = <any> 'TLSV1',
Tlsv11 = <any> 'TLSV1_1',
Tlsv12 = <any> 'TLSV1_2',
Tlsv13 = <any> 'TLSV1_3',
Tlsv1InsecureCiphers = <any> 'TLSV1_INSECURE_CIPHERS'
}
}

View File

@@ -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() {

View File

@@ -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 = <any> 'TLSV1',
Tlsv11 = <any> 'TLSV1_1',
Tlsv12 = <any> 'TLSV1_2',
Tlsv13 = <any> 'TLSV1_3',
Tlsv1InsecureCiphers = <any> 'TLSV1_INSECURE_CIPHERS'
}
}

View File

@@ -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<Split>;
/**

View File

@@ -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<Split>;
/**

View File

@@ -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<Split>;
/**

View File

@@ -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;
}
}

View File

@@ -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;
}
}

View File

@@ -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,

View File

@@ -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<Split>;
/**
* 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",

View File

@@ -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<Split>;
/**
* 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;
/**

View File

@@ -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<Split>;
/**
* 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;
/**

View File

@@ -117,6 +117,7 @@ export class PaymentResult {
export namespace PaymentResult {
export enum ResultCodeEnum {
AuthenticationFinished = <any> 'AuthenticationFinished',
AuthenticationNotRequired = <any> 'AuthenticationNotRequired',
Authorised = <any> 'Authorised',
Cancelled = <any> 'Cancelled',
ChallengeShopper = <any> 'ChallengeShopper',

View File

@@ -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<Split>;
/**

View File

@@ -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 = <any> 'GREEN',
Fraud = <any> 'FRAUD'
}
export enum MerchantAdviceCodeEnum {
_01NewAccountInformationAvailable = <any> '01: New account information available',
_02CannotApproveAtThisTimeTryAgainLater = <any> '02: Cannot approve at this time, try again later',
_03DoNotTryAgain = <any> '03: Do not try again',
_04TokenRequirementsNotFulfilledForThisTokenType = <any> '04: Token requirements not fulfilled for this token type',
_21PaymentCancellation = <any> '21: Payment Cancellation'
}
export enum RecurringProcessingModelEnum {
CardOnFile = <any> 'CardOnFile',
Subscription = <any> 'Subscription',

View File

@@ -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; };
/**

View File

@@ -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<Split>;
/**

View File

@@ -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<Split>;
/**

View File

@@ -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,

View File

@@ -117,6 +117,7 @@ export class PayoutResponse {
export namespace PayoutResponse {
export enum ResultCodeEnum {
AuthenticationFinished = <any> 'AuthenticationFinished',
AuthenticationNotRequired = <any> 'AuthenticationNotRequired',
Authorised = <any> 'Authorised',
Cancelled = <any> 'Cancelled',
ChallengeShopper = <any> 'ChallengeShopper',

View File

@@ -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 = <any> 'GREEN',
Fraud = <any> 'FRAUD'
}
export enum MerchantAdviceCodeEnum {
_01NewAccountInformationAvailable = <any> '01: New account information available',
_02CannotApproveAtThisTimeTryAgainLater = <any> '02: Cannot approve at this time, try again later',
_03DoNotTryAgain = <any> '03: Do not try again',
_04TokenRequirementsNotFulfilledForThisTokenType = <any> '04: Token requirements not fulfilled for this token type',
_21PaymentCancellation = <any> '21: Payment Cancellation'
}
export enum RecurringProcessingModelEnum {
CardOnFile = <any> 'CardOnFile',
Subscription = <any> 'Subscription',

View File

@@ -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; };
/**

View File

@@ -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;
/**

View File

@@ -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<BankAccountDetail>;
/**
@@ -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<LegalArrangementDetail>;
/**
@@ -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<PayoutMethod>;
'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<StoreDetail>;
/**

View File

@@ -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;

View File

@@ -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<ShareholderContact>;
/**

View File

@@ -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;
/**

View File

@@ -94,29 +94,15 @@ export class CreateAccountRequest {
export namespace CreateAccountRequest {
export enum PayoutScheduleEnum {
BiweeklyOn1StAnd15ThAtMidnight = <any> 'BIWEEKLY_ON_1ST_AND_15TH_AT_MIDNIGHT',
BiweeklyOn1StAnd15ThAtNoon = <any> 'BIWEEKLY_ON_1ST_AND_15TH_AT_NOON',
BiDailyAu = <any> 'BI_DAILY_AU',
BiDailyEu = <any> 'BI_DAILY_EU',
BiDailyUs = <any> 'BI_DAILY_US',
Daily = <any> 'DAILY',
Daily6Pm = <any> 'DAILY_6PM',
DailyAu = <any> 'DAILY_AU',
DailyEu = <any> 'DAILY_EU',
DailySg = <any> 'DAILY_SG',
DailyUs = <any> 'DAILY_US',
Default = <any> 'DEFAULT',
Every6HoursFromMidnight = <any> 'EVERY_6_HOURS_FROM_MIDNIGHT',
Hold = <any> 'HOLD',
Monthly = <any> 'MONTHLY',
MonthlyOn15ThAtMidnight = <any> 'MONTHLY_ON_15TH_AT_MIDNIGHT',
Weekly = <any> 'WEEKLY',
WeeklyMonToFriAu = <any> 'WEEKLY_MON_TO_FRI_AU',
WeeklyMonToFriEu = <any> 'WEEKLY_MON_TO_FRI_EU',
WeeklyMonToFriUs = <any> 'WEEKLY_MON_TO_FRI_US',
WeeklyOnTueFriMidnight = <any> 'WEEKLY_ON_TUE_FRI_MIDNIGHT',
WeeklySunToThuAu = <any> 'WEEKLY_SUN_TO_THU_AU',
WeeklySunToThuUs = <any> 'WEEKLY_SUN_TO_THU_US',
Yearly = <any> 'YEARLY'
WeeklyOnTueFriMidnight = <any> 'WEEKLY_ON_TUE_FRI_MIDNIGHT'
}
export enum PayoutSpeedEnum {
Instant = <any> 'INSTANT',

Some files were not shown because too many files have changed in this diff Show More