Skip to content

Commit

Permalink
Merge pull request #1440 from Adyen/sdk-automation/models
Browse files Browse the repository at this point in the history
Update all services
  • Loading branch information
gcatanese authored Dec 23, 2024
2 parents 38696c1 + 12e423b commit c4876aa
Show file tree
Hide file tree
Showing 278 changed files with 1,499 additions and 1,499 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
format:
if: ${{ ! startsWith(github.event.head_commit.message, 'style(fmt)') }}
if: ${{ github.event.commits != null && !startsWith(github.event.head_commit.message, 'style(fmt)') }}
permissions:
contents: write
runs-on: ubuntu-latest
Expand All @@ -26,4 +26,4 @@ jobs:
git config user.email "${{ secrets.ADYEN_AUTOMATION_BOT_EMAIL }}"
git add .
git commit -m "style(fmt): code formatted"
git push
git push
4 changes: 2 additions & 2 deletions src/typings/acsWebhooks/authenticationInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export class AuthenticationInfo {
* Universally unique transaction identifier assigned by the Access Control Server (ACS) to identify a single transaction.
*/
'acsTransId': string;
'challenge'?: ChallengeInfo;
'challenge'?: ChallengeInfo | null;
/**
* Specifies a preference for receiving a challenge. Possible values: * **01**: No preference * **02**: No challenge requested * **03**: Challenge requested (preference) * **04**: Challenge requested (mandate) * **05**: No challenge requested (transactional risk analysis is already performed) * **07**: No challenge requested (SCA is already performed) * **08**: No challenge requested (trusted beneficiaries exemption of no challenge required) * **09**: Challenge requested (trusted beneficiaries prompt requested if challenge required) * **80**: No challenge requested (secure corporate payment with Mastercard) * **82**: No challenge requested (secure corporate payment with Visa)
*/
Expand Down Expand Up @@ -79,7 +79,7 @@ export class AuthenticationInfo {
{
"name": "challenge",
"baseName": "challenge",
"type": "ChallengeInfo"
"type": "ChallengeInfo | null"
},
{
"name": "challengeIndicator",
Expand Down
4 changes: 2 additions & 2 deletions src/typings/balancePlatform/accountHolder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export class AccountHolder {
/**
* @deprecated
*/
'contactDetails'?: ContactDetails;
'contactDetails'?: ContactDetails | null;
/**
* Your description for the account holder.
*/
Expand Down Expand Up @@ -81,7 +81,7 @@ export class AccountHolder {
{
"name": "contactDetails",
"baseName": "contactDetails",
"type": "ContactDetails"
"type": "ContactDetails | null"
},
{
"name": "description",
Expand Down
8 changes: 4 additions & 4 deletions src/typings/balancePlatform/accountHolderCapability.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export class AccountHolderCapability {
* The capability level that is allowed for the account holder. Possible values: **notApplicable**, **low**, **medium**, **high**.
*/
'allowedLevel'?: AccountHolderCapability.AllowedLevelEnum;
'allowedSettings'?: CapabilitySettings;
'allowedSettings'?: CapabilitySettings | null;
/**
* Indicates whether the capability is enabled. If **false**, the capability is temporarily disabled for the account holder.
*/
Expand All @@ -37,7 +37,7 @@ export class AccountHolderCapability {
* The requested level of the capability. Some capabilities, such as those used in [card issuing](https://docs.adyen.com/issuing/add-capabilities#capability-levels), have different levels. Levels increase the capability, but also require additional checks and increased monitoring. Possible values: **notApplicable**, **low**, **medium**, **high**.
*/
'requestedLevel'?: AccountHolderCapability.RequestedLevelEnum;
'requestedSettings'?: CapabilitySettings;
'requestedSettings'?: CapabilitySettings | null;
/**
* Contains the status of the transfer instruments associated with this capability.
*/
Expand All @@ -63,7 +63,7 @@ export class AccountHolderCapability {
{
"name": "allowedSettings",
"baseName": "allowedSettings",
"type": "CapabilitySettings"
"type": "CapabilitySettings | null"
},
{
"name": "enabled",
Expand All @@ -88,7 +88,7 @@ export class AccountHolderCapability {
{
"name": "requestedSettings",
"baseName": "requestedSettings",
"type": "CapabilitySettings"
"type": "CapabilitySettings | null"
},
{
"name": "transferInstruments",
Expand Down
4 changes: 2 additions & 2 deletions src/typings/balancePlatform/accountHolderInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export class AccountHolderInfo {
/**
* @deprecated
*/
'contactDetails'?: ContactDetails;
'contactDetails'?: ContactDetails | null;
/**
* Your description for the account holder.
*/
Expand Down Expand Up @@ -64,7 +64,7 @@ export class AccountHolderInfo {
{
"name": "contactDetails",
"baseName": "contactDetails",
"type": "ContactDetails"
"type": "ContactDetails | null"
},
{
"name": "description",
Expand Down
4 changes: 2 additions & 2 deletions src/typings/balancePlatform/accountHolderUpdateRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export class AccountHolderUpdateRequest {
/**
* @deprecated
*/
'contactDetails'?: ContactDetails;
'contactDetails'?: ContactDetails | null;
/**
* Your description for the account holder.
*/
Expand Down Expand Up @@ -73,7 +73,7 @@ export class AccountHolderUpdateRequest {
{
"name": "contactDetails",
"baseName": "contactDetails",
"type": "ContactDetails"
"type": "ContactDetails | null"
},
{
"name": "description",
Expand Down
4 changes: 2 additions & 2 deletions src/typings/balancePlatform/authentication.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export class Authentication {
* The password used for 3D Secure password-based authentication. The value must be between 1 to 30 characters and must only contain the following supported characters. * Characters between **a-z**, **A-Z**, and **0-9** * Special characters: **äöüßÄÖÜ+-*_/ç%()=?!~#\'\",;:$&àùòâôûáúó**
*/
'password'?: string;
'phone'?: Phone;
'phone'?: Phone | null;

static discriminator: string | undefined = undefined;

Expand All @@ -36,7 +36,7 @@ export class Authentication {
{
"name": "phone",
"baseName": "phone",
"type": "Phone"
"type": "Phone | null"
} ];

static getAttributeTypeMap() {
Expand Down
4 changes: 2 additions & 2 deletions src/typings/balancePlatform/balanceAccount.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export class BalanceAccount {
* The unique identifier of the account of the migrated account holder in the classic integration.
*/
'migratedAccountCode'?: string;
'platformPaymentConfiguration'?: PlatformPaymentConfiguration;
'platformPaymentConfiguration'?: PlatformPaymentConfiguration | null;
/**
* Your reference for the balance account, maximum 150 characters.
*/
Expand Down Expand Up @@ -94,7 +94,7 @@ export class BalanceAccount {
{
"name": "platformPaymentConfiguration",
"baseName": "platformPaymentConfiguration",
"type": "PlatformPaymentConfiguration"
"type": "PlatformPaymentConfiguration | null"
},
{
"name": "reference",
Expand Down
4 changes: 2 additions & 2 deletions src/typings/balancePlatform/balanceAccountBase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export class BalanceAccountBase {
* The unique identifier of the account of the migrated account holder in the classic integration.
*/
'migratedAccountCode'?: string;
'platformPaymentConfiguration'?: PlatformPaymentConfiguration;
'platformPaymentConfiguration'?: PlatformPaymentConfiguration | null;
/**
* Your reference for the balance account, maximum 150 characters.
*/
Expand Down Expand Up @@ -84,7 +84,7 @@ export class BalanceAccountBase {
{
"name": "platformPaymentConfiguration",
"baseName": "platformPaymentConfiguration",
"type": "PlatformPaymentConfiguration"
"type": "PlatformPaymentConfiguration | null"
},
{
"name": "reference",
Expand Down
4 changes: 2 additions & 2 deletions src/typings/balancePlatform/balanceAccountInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export class BalanceAccountInfo {
* The unique identifier of the account of the migrated account holder in the classic integration.
*/
'migratedAccountCode'?: string;
'platformPaymentConfiguration'?: PlatformPaymentConfiguration;
'platformPaymentConfiguration'?: PlatformPaymentConfiguration | null;
/**
* Your reference for the balance account, maximum 150 characters.
*/
Expand Down Expand Up @@ -71,7 +71,7 @@ export class BalanceAccountInfo {
{
"name": "platformPaymentConfiguration",
"baseName": "platformPaymentConfiguration",
"type": "PlatformPaymentConfiguration"
"type": "PlatformPaymentConfiguration | null"
},
{
"name": "reference",
Expand Down
4 changes: 2 additions & 2 deletions src/typings/balancePlatform/balanceAccountUpdateRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export class BalanceAccountUpdateRequest {
* A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs.
*/
'metadata'?: { [key: string]: string; };
'platformPaymentConfiguration'?: PlatformPaymentConfiguration;
'platformPaymentConfiguration'?: PlatformPaymentConfiguration | null;
/**
* Your reference to the balance account.
*/
Expand Down Expand Up @@ -57,7 +57,7 @@ export class BalanceAccountUpdateRequest {
{
"name": "platformPaymentConfiguration",
"baseName": "platformPaymentConfiguration",
"type": "PlatformPaymentConfiguration"
"type": "PlatformPaymentConfiguration | null"
},
{
"name": "reference",
Expand Down
4 changes: 2 additions & 2 deletions src/typings/balancePlatform/bankAccount.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ export class BankAccount {
/**
* Contains the bank account details. The fields required in this object depend on the country of the bank account and the currency of the transfer.
*/
'accountIdentification': AULocalAccountIdentification | BRLocalAccountIdentification | CALocalAccountIdentification | CZLocalAccountIdentification | DKLocalAccountIdentification | HKLocalAccountIdentification | HULocalAccountIdentification | IbanAccountIdentification | NOLocalAccountIdentification | NZLocalAccountIdentification | NumberAndBicAccountIdentification | PLLocalAccountIdentification | SELocalAccountIdentification | SGLocalAccountIdentification | UKLocalAccountIdentification | USLocalAccountIdentification | null;
'accountIdentification': AULocalAccountIdentification | BRLocalAccountIdentification | CALocalAccountIdentification | CZLocalAccountIdentification | DKLocalAccountIdentification | HKLocalAccountIdentification | HULocalAccountIdentification | IbanAccountIdentification | NOLocalAccountIdentification | NZLocalAccountIdentification | NumberAndBicAccountIdentification | PLLocalAccountIdentification | SELocalAccountIdentification | SGLocalAccountIdentification | UKLocalAccountIdentification | USLocalAccountIdentification;

static discriminator: string | undefined = undefined;

static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "accountIdentification",
"baseName": "accountIdentification",
"type": "AULocalAccountIdentification | BRLocalAccountIdentification | CALocalAccountIdentification | CZLocalAccountIdentification | DKLocalAccountIdentification | HKLocalAccountIdentification | HULocalAccountIdentification | IbanAccountIdentification | NOLocalAccountIdentification | NZLocalAccountIdentification | NumberAndBicAccountIdentification | PLLocalAccountIdentification | SELocalAccountIdentification | SGLocalAccountIdentification | UKLocalAccountIdentification | USLocalAccountIdentification | null"
"type": "AULocalAccountIdentification | BRLocalAccountIdentification | CALocalAccountIdentification | CZLocalAccountIdentification | DKLocalAccountIdentification | HKLocalAccountIdentification | HULocalAccountIdentification | IbanAccountIdentification | NOLocalAccountIdentification | NZLocalAccountIdentification | NumberAndBicAccountIdentification | PLLocalAccountIdentification | SELocalAccountIdentification | SGLocalAccountIdentification | UKLocalAccountIdentification | USLocalAccountIdentification"
} ];

static getAttributeTypeMap() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ export class BankAccountIdentificationValidationRequest {
/**
* Bank account identification.
*/
'accountIdentification': AULocalAccountIdentification | BRLocalAccountIdentification | CALocalAccountIdentification | CZLocalAccountIdentification | DKLocalAccountIdentification | HKLocalAccountIdentification | HULocalAccountIdentification | IbanAccountIdentification | NOLocalAccountIdentification | NZLocalAccountIdentification | NumberAndBicAccountIdentification | PLLocalAccountIdentification | SELocalAccountIdentification | SGLocalAccountIdentification | UKLocalAccountIdentification | USLocalAccountIdentification | null;
'accountIdentification': AULocalAccountIdentification | BRLocalAccountIdentification | CALocalAccountIdentification | CZLocalAccountIdentification | DKLocalAccountIdentification | HKLocalAccountIdentification | HULocalAccountIdentification | IbanAccountIdentification | NOLocalAccountIdentification | NZLocalAccountIdentification | NumberAndBicAccountIdentification | PLLocalAccountIdentification | SELocalAccountIdentification | SGLocalAccountIdentification | UKLocalAccountIdentification | USLocalAccountIdentification;

static discriminator: string | undefined = undefined;

static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "accountIdentification",
"baseName": "accountIdentification",
"type": "AULocalAccountIdentification | BRLocalAccountIdentification | CALocalAccountIdentification | CZLocalAccountIdentification | DKLocalAccountIdentification | HKLocalAccountIdentification | HULocalAccountIdentification | IbanAccountIdentification | NOLocalAccountIdentification | NZLocalAccountIdentification | NumberAndBicAccountIdentification | PLLocalAccountIdentification | SELocalAccountIdentification | SGLocalAccountIdentification | UKLocalAccountIdentification | USLocalAccountIdentification | null"
"type": "AULocalAccountIdentification | BRLocalAccountIdentification | CALocalAccountIdentification | CZLocalAccountIdentification | DKLocalAccountIdentification | HKLocalAccountIdentification | HULocalAccountIdentification | IbanAccountIdentification | NOLocalAccountIdentification | NZLocalAccountIdentification | NumberAndBicAccountIdentification | PLLocalAccountIdentification | SELocalAccountIdentification | SGLocalAccountIdentification | UKLocalAccountIdentification | USLocalAccountIdentification"
} ];

static getAttributeTypeMap() {
Expand Down
4 changes: 2 additions & 2 deletions src/typings/balancePlatform/capabilityProblem.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { CapabilityProblemEntity } from './capabilityProblemEntity';
import { VerificationError } from './verificationError';

export class CapabilityProblem {
'entity'?: CapabilityProblemEntity;
'entity'?: CapabilityProblemEntity | null;
/**
* Contains information about the verification error.
*/
Expand All @@ -23,7 +23,7 @@ export class CapabilityProblem {
{
"name": "entity",
"baseName": "entity",
"type": "CapabilityProblemEntity"
"type": "CapabilityProblemEntity | null"
},
{
"name": "verificationErrors",
Expand Down
4 changes: 2 additions & 2 deletions src/typings/balancePlatform/capabilityProblemEntity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export class CapabilityProblemEntity {
* The ID of the entity.
*/
'id'?: string;
'owner'?: CapabilityProblemEntityRecursive;
'owner'?: CapabilityProblemEntityRecursive | null;
/**
* Type of entity. Possible values: **LegalEntity**, **BankAccount**, **Document**.
*/
Expand All @@ -40,7 +40,7 @@ export class CapabilityProblemEntity {
{
"name": "owner",
"baseName": "owner",
"type": "CapabilityProblemEntityRecursive"
"type": "CapabilityProblemEntityRecursive | null"
},
{
"name": "type",
Expand Down
4 changes: 2 additions & 2 deletions src/typings/balancePlatform/capabilitySettings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export class CapabilitySettings {
'authorizedCardUsers'?: boolean;
'fundingSource'?: Array<CapabilitySettings.FundingSourceEnum>;
'interval'?: CapabilitySettings.IntervalEnum;
'maxAmount'?: Amount;
'maxAmount'?: Amount | null;

static discriminator: string | undefined = undefined;

Expand Down Expand Up @@ -42,7 +42,7 @@ export class CapabilitySettings {
{
"name": "maxAmount",
"baseName": "maxAmount",
"type": "Amount"
"type": "Amount | null"
} ];

static getAttributeTypeMap() {
Expand Down
16 changes: 8 additions & 8 deletions src/typings/balancePlatform/card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { DeliveryContact } from './deliveryContact';
import { Expiry } from './expiry';

export class Card {
'authentication'?: Authentication;
'authentication'?: Authentication | null;
/**
* The bank identification number (BIN) of the card number.
*/
Expand All @@ -30,13 +30,13 @@ export class Card {
* The name of the cardholder. Maximum length: 26 characters.
*/
'cardholderName': string;
'configuration'?: CardConfiguration;
'configuration'?: CardConfiguration | null;
/**
* The CVC2 value of the card. > The CVC2 is not sent by default. This is only returned in the `POST` response for single-use virtual cards.
*/
'cvc'?: string;
'deliveryContact'?: DeliveryContact;
'expiration'?: Expiry;
'deliveryContact'?: DeliveryContact | null;
'expiration'?: Expiry | null;
/**
* The form factor of the card. Possible values: **virtual**, **physical**.
*/
Expand All @@ -60,7 +60,7 @@ export class Card {
{
"name": "authentication",
"baseName": "authentication",
"type": "Authentication"
"type": "Authentication | null"
},
{
"name": "bin",
Expand All @@ -85,7 +85,7 @@ export class Card {
{
"name": "configuration",
"baseName": "configuration",
"type": "CardConfiguration"
"type": "CardConfiguration | null"
},
{
"name": "cvc",
Expand All @@ -95,12 +95,12 @@ export class Card {
{
"name": "deliveryContact",
"baseName": "deliveryContact",
"type": "DeliveryContact"
"type": "DeliveryContact | null"
},
{
"name": "expiration",
"baseName": "expiration",
"type": "Expiry"
"type": "Expiry | null"
},
{
"name": "formFactor",
Expand Down
4 changes: 2 additions & 2 deletions src/typings/balancePlatform/cardConfiguration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export class CardConfiguration {
* Your app\'s URL, if you want to activate cards through your app. For example, **my-app://ref1236a7d**. A QR code is created based on this URL, and is included in the carrier. Before you use this field, reach out to your Adyen contact to set up the QR code process. Maximum length: 255 characters.
*/
'activationUrl'?: string;
'bulkAddress'?: BulkAddress;
'bulkAddress'?: BulkAddress | null;
/**
* The ID of the card image. This is the image that will be printed on the full front of the card.
*/
Expand Down Expand Up @@ -80,7 +80,7 @@ export class CardConfiguration {
{
"name": "bulkAddress",
"baseName": "bulkAddress",
"type": "BulkAddress"
"type": "BulkAddress | null"
},
{
"name": "cardImageId",
Expand Down
Loading

0 comments on commit c4876aa

Please sign in to comment.