Skip to content

Commit c4876aa

Browse files
authored
Merge pull request #1440 from Adyen/sdk-automation/models
Update all services
2 parents 38696c1 + 12e423b commit c4876aa

File tree

278 files changed

+1499
-1499
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

278 files changed

+1499
-1499
lines changed

.github/workflows/format.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
format:
10-
if: ${{ ! startsWith(github.event.head_commit.message, 'style(fmt)') }}
10+
if: ${{ github.event.commits != null && !startsWith(github.event.head_commit.message, 'style(fmt)') }}
1111
permissions:
1212
contents: write
1313
runs-on: ubuntu-latest
@@ -26,4 +26,4 @@ jobs:
2626
git config user.email "${{ secrets.ADYEN_AUTOMATION_BOT_EMAIL }}"
2727
git add .
2828
git commit -m "style(fmt): code formatted"
29-
git push
29+
git push

src/typings/acsWebhooks/authenticationInfo.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export class AuthenticationInfo {
1414
* Universally unique transaction identifier assigned by the Access Control Server (ACS) to identify a single transaction.
1515
*/
1616
'acsTransId': string;
17-
'challenge'?: ChallengeInfo;
17+
'challenge'?: ChallengeInfo | null;
1818
/**
1919
* 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)
2020
*/
@@ -79,7 +79,7 @@ export class AuthenticationInfo {
7979
{
8080
"name": "challenge",
8181
"baseName": "challenge",
82-
"type": "ChallengeInfo"
82+
"type": "ChallengeInfo | null"
8383
},
8484
{
8585
"name": "challengeIndicator",

src/typings/balancePlatform/accountHolder.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export class AccountHolder {
2323
/**
2424
* @deprecated
2525
*/
26-
'contactDetails'?: ContactDetails;
26+
'contactDetails'?: ContactDetails | null;
2727
/**
2828
* Your description for the account holder.
2929
*/
@@ -81,7 +81,7 @@ export class AccountHolder {
8181
{
8282
"name": "contactDetails",
8383
"baseName": "contactDetails",
84-
"type": "ContactDetails"
84+
"type": "ContactDetails | null"
8585
},
8686
{
8787
"name": "description",

src/typings/balancePlatform/accountHolderCapability.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export class AccountHolderCapability {
2020
* The capability level that is allowed for the account holder. Possible values: **notApplicable**, **low**, **medium**, **high**.
2121
*/
2222
'allowedLevel'?: AccountHolderCapability.AllowedLevelEnum;
23-
'allowedSettings'?: CapabilitySettings;
23+
'allowedSettings'?: CapabilitySettings | null;
2424
/**
2525
* Indicates whether the capability is enabled. If **false**, the capability is temporarily disabled for the account holder.
2626
*/
@@ -37,7 +37,7 @@ export class AccountHolderCapability {
3737
* 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**.
3838
*/
3939
'requestedLevel'?: AccountHolderCapability.RequestedLevelEnum;
40-
'requestedSettings'?: CapabilitySettings;
40+
'requestedSettings'?: CapabilitySettings | null;
4141
/**
4242
* Contains the status of the transfer instruments associated with this capability.
4343
*/
@@ -63,7 +63,7 @@ export class AccountHolderCapability {
6363
{
6464
"name": "allowedSettings",
6565
"baseName": "allowedSettings",
66-
"type": "CapabilitySettings"
66+
"type": "CapabilitySettings | null"
6767
},
6868
{
6969
"name": "enabled",
@@ -88,7 +88,7 @@ export class AccountHolderCapability {
8888
{
8989
"name": "requestedSettings",
9090
"baseName": "requestedSettings",
91-
"type": "CapabilitySettings"
91+
"type": "CapabilitySettings | null"
9292
},
9393
{
9494
"name": "transferInstruments",

src/typings/balancePlatform/accountHolderInfo.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export class AccountHolderInfo {
2222
/**
2323
* @deprecated
2424
*/
25-
'contactDetails'?: ContactDetails;
25+
'contactDetails'?: ContactDetails | null;
2626
/**
2727
* Your description for the account holder.
2828
*/
@@ -64,7 +64,7 @@ export class AccountHolderInfo {
6464
{
6565
"name": "contactDetails",
6666
"baseName": "contactDetails",
67-
"type": "ContactDetails"
67+
"type": "ContactDetails | null"
6868
},
6969
{
7070
"name": "description",

src/typings/balancePlatform/accountHolderUpdateRequest.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export class AccountHolderUpdateRequest {
2323
/**
2424
* @deprecated
2525
*/
26-
'contactDetails'?: ContactDetails;
26+
'contactDetails'?: ContactDetails | null;
2727
/**
2828
* Your description for the account holder.
2929
*/
@@ -73,7 +73,7 @@ export class AccountHolderUpdateRequest {
7373
{
7474
"name": "contactDetails",
7575
"baseName": "contactDetails",
76-
"type": "ContactDetails"
76+
"type": "ContactDetails | null"
7777
},
7878
{
7979
"name": "description",

src/typings/balancePlatform/authentication.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export class Authentication {
1818
* 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: **äöüßÄÖÜ+-*_/ç%()=?!~#\'\",;:$&àùòâôûáúó**
1919
*/
2020
'password'?: string;
21-
'phone'?: Phone;
21+
'phone'?: Phone | null;
2222

2323
static discriminator: string | undefined = undefined;
2424

@@ -36,7 +36,7 @@ export class Authentication {
3636
{
3737
"name": "phone",
3838
"baseName": "phone",
39-
"type": "Phone"
39+
"type": "Phone | null"
4040
} ];
4141

4242
static getAttributeTypeMap() {

src/typings/balancePlatform/balanceAccount.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export class BalanceAccount {
3939
* The unique identifier of the account of the migrated account holder in the classic integration.
4040
*/
4141
'migratedAccountCode'?: string;
42-
'platformPaymentConfiguration'?: PlatformPaymentConfiguration;
42+
'platformPaymentConfiguration'?: PlatformPaymentConfiguration | null;
4343
/**
4444
* Your reference for the balance account, maximum 150 characters.
4545
*/
@@ -94,7 +94,7 @@ export class BalanceAccount {
9494
{
9595
"name": "platformPaymentConfiguration",
9696
"baseName": "platformPaymentConfiguration",
97-
"type": "PlatformPaymentConfiguration"
97+
"type": "PlatformPaymentConfiguration | null"
9898
},
9999
{
100100
"name": "reference",

src/typings/balancePlatform/balanceAccountBase.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export class BalanceAccountBase {
3434
* The unique identifier of the account of the migrated account holder in the classic integration.
3535
*/
3636
'migratedAccountCode'?: string;
37-
'platformPaymentConfiguration'?: PlatformPaymentConfiguration;
37+
'platformPaymentConfiguration'?: PlatformPaymentConfiguration | null;
3838
/**
3939
* Your reference for the balance account, maximum 150 characters.
4040
*/
@@ -84,7 +84,7 @@ export class BalanceAccountBase {
8484
{
8585
"name": "platformPaymentConfiguration",
8686
"baseName": "platformPaymentConfiguration",
87-
"type": "PlatformPaymentConfiguration"
87+
"type": "PlatformPaymentConfiguration | null"
8888
},
8989
{
9090
"name": "reference",

src/typings/balancePlatform/balanceAccountInfo.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export class BalanceAccountInfo {
3030
* The unique identifier of the account of the migrated account holder in the classic integration.
3131
*/
3232
'migratedAccountCode'?: string;
33-
'platformPaymentConfiguration'?: PlatformPaymentConfiguration;
33+
'platformPaymentConfiguration'?: PlatformPaymentConfiguration | null;
3434
/**
3535
* Your reference for the balance account, maximum 150 characters.
3636
*/
@@ -71,7 +71,7 @@ export class BalanceAccountInfo {
7171
{
7272
"name": "platformPaymentConfiguration",
7373
"baseName": "platformPaymentConfiguration",
74-
"type": "PlatformPaymentConfiguration"
74+
"type": "PlatformPaymentConfiguration | null"
7575
},
7676
{
7777
"name": "reference",

src/typings/balancePlatform/balanceAccountUpdateRequest.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export class BalanceAccountUpdateRequest {
2222
* 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.
2323
*/
2424
'metadata'?: { [key: string]: string; };
25-
'platformPaymentConfiguration'?: PlatformPaymentConfiguration;
25+
'platformPaymentConfiguration'?: PlatformPaymentConfiguration | null;
2626
/**
2727
* Your reference to the balance account.
2828
*/
@@ -57,7 +57,7 @@ export class BalanceAccountUpdateRequest {
5757
{
5858
"name": "platformPaymentConfiguration",
5959
"baseName": "platformPaymentConfiguration",
60-
"type": "PlatformPaymentConfiguration"
60+
"type": "PlatformPaymentConfiguration | null"
6161
},
6262
{
6363
"name": "reference",

src/typings/balancePlatform/bankAccount.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@ export class BankAccount {
2828
/**
2929
* 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.
3030
*/
31-
'accountIdentification': AULocalAccountIdentification | BRLocalAccountIdentification | CALocalAccountIdentification | CZLocalAccountIdentification | DKLocalAccountIdentification | HKLocalAccountIdentification | HULocalAccountIdentification | IbanAccountIdentification | NOLocalAccountIdentification | NZLocalAccountIdentification | NumberAndBicAccountIdentification | PLLocalAccountIdentification | SELocalAccountIdentification | SGLocalAccountIdentification | UKLocalAccountIdentification | USLocalAccountIdentification | null;
31+
'accountIdentification': AULocalAccountIdentification | BRLocalAccountIdentification | CALocalAccountIdentification | CZLocalAccountIdentification | DKLocalAccountIdentification | HKLocalAccountIdentification | HULocalAccountIdentification | IbanAccountIdentification | NOLocalAccountIdentification | NZLocalAccountIdentification | NumberAndBicAccountIdentification | PLLocalAccountIdentification | SELocalAccountIdentification | SGLocalAccountIdentification | UKLocalAccountIdentification | USLocalAccountIdentification;
3232

3333
static discriminator: string | undefined = undefined;
3434

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

4242
static getAttributeTypeMap() {

src/typings/balancePlatform/bankAccountIdentificationValidationRequest.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@ export class BankAccountIdentificationValidationRequest {
2828
/**
2929
* Bank account identification.
3030
*/
31-
'accountIdentification': AULocalAccountIdentification | BRLocalAccountIdentification | CALocalAccountIdentification | CZLocalAccountIdentification | DKLocalAccountIdentification | HKLocalAccountIdentification | HULocalAccountIdentification | IbanAccountIdentification | NOLocalAccountIdentification | NZLocalAccountIdentification | NumberAndBicAccountIdentification | PLLocalAccountIdentification | SELocalAccountIdentification | SGLocalAccountIdentification | UKLocalAccountIdentification | USLocalAccountIdentification | null;
31+
'accountIdentification': AULocalAccountIdentification | BRLocalAccountIdentification | CALocalAccountIdentification | CZLocalAccountIdentification | DKLocalAccountIdentification | HKLocalAccountIdentification | HULocalAccountIdentification | IbanAccountIdentification | NOLocalAccountIdentification | NZLocalAccountIdentification | NumberAndBicAccountIdentification | PLLocalAccountIdentification | SELocalAccountIdentification | SGLocalAccountIdentification | UKLocalAccountIdentification | USLocalAccountIdentification;
3232

3333
static discriminator: string | undefined = undefined;
3434

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

4242
static getAttributeTypeMap() {

src/typings/balancePlatform/capabilityProblem.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { CapabilityProblemEntity } from './capabilityProblemEntity';
1111
import { VerificationError } from './verificationError';
1212

1313
export class CapabilityProblem {
14-
'entity'?: CapabilityProblemEntity;
14+
'entity'?: CapabilityProblemEntity | null;
1515
/**
1616
* Contains information about the verification error.
1717
*/
@@ -23,7 +23,7 @@ export class CapabilityProblem {
2323
{
2424
"name": "entity",
2525
"baseName": "entity",
26-
"type": "CapabilityProblemEntity"
26+
"type": "CapabilityProblemEntity | null"
2727
},
2828
{
2929
"name": "verificationErrors",

src/typings/balancePlatform/capabilityProblemEntity.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export class CapabilityProblemEntity {
1818
* The ID of the entity.
1919
*/
2020
'id'?: string;
21-
'owner'?: CapabilityProblemEntityRecursive;
21+
'owner'?: CapabilityProblemEntityRecursive | null;
2222
/**
2323
* Type of entity. Possible values: **LegalEntity**, **BankAccount**, **Document**.
2424
*/
@@ -40,7 +40,7 @@ export class CapabilityProblemEntity {
4040
{
4141
"name": "owner",
4242
"baseName": "owner",
43-
"type": "CapabilityProblemEntityRecursive"
43+
"type": "CapabilityProblemEntityRecursive | null"
4444
},
4545
{
4646
"name": "type",

src/typings/balancePlatform/capabilitySettings.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export class CapabilitySettings {
1414
'authorizedCardUsers'?: boolean;
1515
'fundingSource'?: Array<CapabilitySettings.FundingSourceEnum>;
1616
'interval'?: CapabilitySettings.IntervalEnum;
17-
'maxAmount'?: Amount;
17+
'maxAmount'?: Amount | null;
1818

1919
static discriminator: string | undefined = undefined;
2020

@@ -42,7 +42,7 @@ export class CapabilitySettings {
4242
{
4343
"name": "maxAmount",
4444
"baseName": "maxAmount",
45-
"type": "Amount"
45+
"type": "Amount | null"
4646
} ];
4747

4848
static getAttributeTypeMap() {

src/typings/balancePlatform/card.ts

+8-8
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { DeliveryContact } from './deliveryContact';
1313
import { Expiry } from './expiry';
1414

1515
export class Card {
16-
'authentication'?: Authentication;
16+
'authentication'?: Authentication | null;
1717
/**
1818
* The bank identification number (BIN) of the card number.
1919
*/
@@ -30,13 +30,13 @@ export class Card {
3030
* The name of the cardholder. Maximum length: 26 characters.
3131
*/
3232
'cardholderName': string;
33-
'configuration'?: CardConfiguration;
33+
'configuration'?: CardConfiguration | null;
3434
/**
3535
* 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.
3636
*/
3737
'cvc'?: string;
38-
'deliveryContact'?: DeliveryContact;
39-
'expiration'?: Expiry;
38+
'deliveryContact'?: DeliveryContact | null;
39+
'expiration'?: Expiry | null;
4040
/**
4141
* The form factor of the card. Possible values: **virtual**, **physical**.
4242
*/
@@ -60,7 +60,7 @@ export class Card {
6060
{
6161
"name": "authentication",
6262
"baseName": "authentication",
63-
"type": "Authentication"
63+
"type": "Authentication | null"
6464
},
6565
{
6666
"name": "bin",
@@ -85,7 +85,7 @@ export class Card {
8585
{
8686
"name": "configuration",
8787
"baseName": "configuration",
88-
"type": "CardConfiguration"
88+
"type": "CardConfiguration | null"
8989
},
9090
{
9191
"name": "cvc",
@@ -95,12 +95,12 @@ export class Card {
9595
{
9696
"name": "deliveryContact",
9797
"baseName": "deliveryContact",
98-
"type": "DeliveryContact"
98+
"type": "DeliveryContact | null"
9999
},
100100
{
101101
"name": "expiration",
102102
"baseName": "expiration",
103-
"type": "Expiry"
103+
"type": "Expiry | null"
104104
},
105105
{
106106
"name": "formFactor",

src/typings/balancePlatform/cardConfiguration.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export class CardConfiguration {
1818
* 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.
1919
*/
2020
'activationUrl'?: string;
21-
'bulkAddress'?: BulkAddress;
21+
'bulkAddress'?: BulkAddress | null;
2222
/**
2323
* The ID of the card image. This is the image that will be printed on the full front of the card.
2424
*/
@@ -80,7 +80,7 @@ export class CardConfiguration {
8080
{
8181
"name": "bulkAddress",
8282
"baseName": "bulkAddress",
83-
"type": "BulkAddress"
83+
"type": "BulkAddress | null"
8484
},
8585
{
8686
"name": "cardImageId",

0 commit comments

Comments
 (0)