Skip to content

Commit 90b0a25

Browse files
committed
Generate ConfigurationWebooks
1 parent eaaf604 commit 90b0a25

19 files changed

+56
-56
lines changed

src/typings/configurationWebhooks/accountHolder.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export class AccountHolder {
2424
/**
2525
* @deprecated
2626
*/
27-
"contactDetails"?: ContactDetails;
27+
"contactDetails"?: ContactDetails | null;
2828
/**
2929
* Your description for the account holder.
3030
*/
@@ -86,7 +86,7 @@ export class AccountHolder {
8686
{
8787
"name": "contactDetails",
8888
"baseName": "contactDetails",
89-
"type": "ContactDetails",
89+
"type": "ContactDetails | null",
9090
"format": ""
9191
},
9292
{

src/typings/configurationWebhooks/accountHolderCapability.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export class AccountHolderCapability {
2121
* The capability level that is allowed for the account holder. Possible values: **notApplicable**, **low**, **medium**, **high**.
2222
*/
2323
"allowedLevel"?: AccountHolderCapability.AllowedLevelEnum;
24-
"allowedSettings"?: CapabilitySettings;
24+
"allowedSettings"?: CapabilitySettings | null;
2525
/**
2626
* Indicates whether the capability is enabled. If **false**, the capability is temporarily disabled for the account holder.
2727
*/
@@ -38,7 +38,7 @@ export class AccountHolderCapability {
3838
* 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**.
3939
*/
4040
"requestedLevel"?: AccountHolderCapability.RequestedLevelEnum;
41-
"requestedSettings"?: CapabilitySettings;
41+
"requestedSettings"?: CapabilitySettings | null;
4242
/**
4343
* Contains the status of the transfer instruments associated with this capability.
4444
*/
@@ -68,7 +68,7 @@ export class AccountHolderCapability {
6868
{
6969
"name": "allowedSettings",
7070
"baseName": "allowedSettings",
71-
"type": "CapabilitySettings",
71+
"type": "CapabilitySettings | null",
7272
"format": ""
7373
},
7474
{
@@ -98,7 +98,7 @@ export class AccountHolderCapability {
9898
{
9999
"name": "requestedSettings",
100100
"baseName": "requestedSettings",
101-
"type": "CapabilitySettings",
101+
"type": "CapabilitySettings | null",
102102
"format": ""
103103
},
104104
{

src/typings/configurationWebhooks/accountHolderNotificationData.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { AccountHolder } from "./accountHolder";
1111

1212

1313
export class AccountHolderNotificationData {
14-
"accountHolder"?: AccountHolder;
14+
"accountHolder"?: AccountHolder | null;
1515
/**
1616
* The unique identifier of the balance platform.
1717
*/
@@ -25,7 +25,7 @@ export class AccountHolderNotificationData {
2525
{
2626
"name": "accountHolder",
2727
"baseName": "accountHolder",
28-
"type": "AccountHolder",
28+
"type": "AccountHolder | null",
2929
"format": ""
3030
},
3131
{

src/typings/configurationWebhooks/authentication.ts

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

2424
static readonly discriminator: string | undefined = undefined;
2525

@@ -41,7 +41,7 @@ export class Authentication {
4141
{
4242
"name": "phone",
4343
"baseName": "phone",
44-
"type": "Phone",
44+
"type": "Phone | null",
4545
"format": ""
4646
} ];
4747

src/typings/configurationWebhooks/balanceAccount.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export class BalanceAccount {
4040
* The unique identifier of the account of the migrated account holder in the classic integration.
4141
*/
4242
"migratedAccountCode"?: string;
43-
"platformPaymentConfiguration"?: PlatformPaymentConfiguration;
43+
"platformPaymentConfiguration"?: PlatformPaymentConfiguration | null;
4444
/**
4545
* Your reference for the balance account, maximum 150 characters.
4646
*/
@@ -104,7 +104,7 @@ export class BalanceAccount {
104104
{
105105
"name": "platformPaymentConfiguration",
106106
"baseName": "platformPaymentConfiguration",
107-
"type": "PlatformPaymentConfiguration",
107+
"type": "PlatformPaymentConfiguration | null",
108108
"format": ""
109109
},
110110
{

src/typings/configurationWebhooks/balanceAccountNotificationData.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { BalanceAccount } from "./balanceAccount";
1111

1212

1313
export class BalanceAccountNotificationData {
14-
"balanceAccount"?: BalanceAccount;
14+
"balanceAccount"?: BalanceAccount | null;
1515
/**
1616
* The unique identifier of the balance platform.
1717
*/
@@ -25,7 +25,7 @@ export class BalanceAccountNotificationData {
2525
{
2626
"name": "balanceAccount",
2727
"baseName": "balanceAccount",
28-
"type": "BalanceAccount",
28+
"type": "BalanceAccount | null",
2929
"format": ""
3030
},
3131
{

src/typings/configurationWebhooks/capabilityProblem.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { VerificationError } from "./verificationError";
1212

1313

1414
export class CapabilityProblem {
15-
"entity"?: CapabilityProblemEntity;
15+
"entity"?: CapabilityProblemEntity | null;
1616
/**
1717
* Contains information about the verification error.
1818
*/
@@ -26,7 +26,7 @@ export class CapabilityProblem {
2626
{
2727
"name": "entity",
2828
"baseName": "entity",
29-
"type": "CapabilityProblemEntity",
29+
"type": "CapabilityProblemEntity | null",
3030
"format": ""
3131
},
3232
{

src/typings/configurationWebhooks/capabilityProblemEntity.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export class CapabilityProblemEntity {
1919
* The ID of the entity.
2020
*/
2121
"id"?: string;
22-
"owner"?: CapabilityProblemEntityRecursive;
22+
"owner"?: CapabilityProblemEntityRecursive | null;
2323
/**
2424
* Type of entity. Possible values: **LegalEntity**, **BankAccount**, **Document**.
2525
*/
@@ -45,7 +45,7 @@ export class CapabilityProblemEntity {
4545
{
4646
"name": "owner",
4747
"baseName": "owner",
48-
"type": "CapabilityProblemEntityRecursive",
48+
"type": "CapabilityProblemEntityRecursive | null",
4949
"format": ""
5050
},
5151
{

src/typings/configurationWebhooks/capabilitySettings.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export class CapabilitySettings {
2727
*
2828
*/
2929
"interval"?: CapabilitySettings.IntervalEnum;
30-
"maxAmount"?: Amount;
30+
"maxAmount"?: Amount | null;
3131

3232
static readonly discriminator: string | undefined = undefined;
3333

@@ -61,7 +61,7 @@ export class CapabilitySettings {
6161
{
6262
"name": "maxAmount",
6363
"baseName": "maxAmount",
64-
"type": "Amount",
64+
"type": "Amount | null",
6565
"format": ""
6666
} ];
6767

src/typings/configurationWebhooks/card.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { Expiry } from "./expiry";
1414

1515

1616
export class Card {
17-
"authentication"?: Authentication;
17+
"authentication"?: Authentication | null;
1818
/**
1919
* The bank identification number (BIN) of the card number.
2020
*/
@@ -31,13 +31,13 @@ export class Card {
3131
* The name of the cardholder. Maximum length: 26 characters.
3232
*/
3333
"cardholderName": string;
34-
"configuration"?: CardConfiguration;
34+
"configuration"?: CardConfiguration | null;
3535
/**
3636
* 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.
3737
*/
3838
"cvc"?: string;
39-
"deliveryContact"?: DeliveryContact;
40-
"expiration"?: Expiry;
39+
"deliveryContact"?: DeliveryContact | null;
40+
"expiration"?: Expiry | null;
4141
/**
4242
* The form factor of the card. Possible values: **virtual**, **physical**.
4343
*/
@@ -63,7 +63,7 @@ export class Card {
6363
{
6464
"name": "authentication",
6565
"baseName": "authentication",
66-
"type": "Authentication",
66+
"type": "Authentication | null",
6767
"format": ""
6868
},
6969
{
@@ -93,7 +93,7 @@ export class Card {
9393
{
9494
"name": "configuration",
9595
"baseName": "configuration",
96-
"type": "CardConfiguration",
96+
"type": "CardConfiguration | null",
9797
"format": ""
9898
},
9999
{
@@ -105,13 +105,13 @@ export class Card {
105105
{
106106
"name": "deliveryContact",
107107
"baseName": "deliveryContact",
108-
"type": "DeliveryContact",
108+
"type": "DeliveryContact | null",
109109
"format": ""
110110
},
111111
{
112112
"name": "expiration",
113113
"baseName": "expiration",
114-
"type": "Expiry",
114+
"type": "Expiry | null",
115115
"format": ""
116116
},
117117
{

0 commit comments

Comments
 (0)