diff --git a/src/services/balancePlatform/paymentInstrumentsApi.ts b/src/services/balancePlatform/paymentInstrumentsApi.ts index 0d5a078f1..85ef353c2 100644 --- a/src/services/balancePlatform/paymentInstrumentsApi.ts +++ b/src/services/balancePlatform/paymentInstrumentsApi.ts @@ -41,13 +41,13 @@ export class PaymentInstrumentsApi extends Service { } /** - * @summary Create network token activation data + * @summary Create network token provisioning data * @param id {@link string } The unique identifier of the payment instrument. * @param networkTokenActivationDataRequest {@link NetworkTokenActivationDataRequest } * @param requestOptions {@link IRequest.Options } * @return {@link NetworkTokenActivationDataResponse } */ - public async createNetworkTokenActivationData(id: string, networkTokenActivationDataRequest: NetworkTokenActivationDataRequest, requestOptions?: IRequest.Options): Promise { + public async createNetworkTokenProvisioningData(id: string, networkTokenActivationDataRequest: NetworkTokenActivationDataRequest, requestOptions?: IRequest.Options): Promise { const endpoint = `${this.baseUrl}/paymentInstruments/{id}/networkTokenActivationData` .replace("{" + "id" + "}", encodeURIComponent(String(id))); const resource = new Resource(this, endpoint); diff --git a/src/services/transfers/transactionsApi.ts b/src/services/transfers/transactionsApi.ts index 6d176d378..fd04b6217 100644 --- a/src/services/transfers/transactionsApi.ts +++ b/src/services/transfers/transactionsApi.ts @@ -41,7 +41,7 @@ export class TransactionsApi extends Service { * @param accountHolderId {@link string } The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/accountHolders/{id}__queryParam_id). Required if you don\'t provide a `balanceAccountId` or `balancePlatform`. If you provide a `balanceAccountId`, the `accountHolderId` must be related to the `balanceAccountId`. * @param balanceAccountId {@link string } The unique identifier of the [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balanceAccounts/{id}__queryParam_id). Required if you don\'t provide an `accountHolderId` or `balancePlatform`. If you provide an `accountHolderId`, the `balanceAccountId` must be related to the `accountHolderId`. * @param cursor {@link string } The `cursor` returned in the links of the previous response. - * @param sortOrder {@link 'asc' | 'desc' } The transactions sorting order. Possible values: - **asc**: Ascending order, from older to most recent. - **desc**: Descending order, from most recent to older. + * @param sortOrder {@link 'asc' | 'desc' } Determines the sort order of the returned transactions. The sort order is based on the creation date of the transaction. Possible values: - **asc**: Ascending order, from oldest to most recent. - **desc**: Descending order, from most recent to oldest. Default value: **asc**. * @param limit {@link number } The number of items returned per page, maximum of 100 items. By default, the response returns 10 items per page. * @return {@link TransactionSearchResponse } */ diff --git a/src/services/transfers/transfersApi.ts b/src/services/transfers/transfersApi.ts index e1afa1b75..56d63f760 100644 --- a/src/services/transfers/transfersApi.ts +++ b/src/services/transfers/transfersApi.ts @@ -84,7 +84,7 @@ export class TransfersApi extends Service { * @param paymentInstrumentId {@link string } The unique identifier of the [payment instrument](https://docs.adyen.com/api-explorer/balanceplatform/latest/get/paymentInstruments/_id_). To use this parameter, you must also provide a `balanceAccountId`, `accountHolderId`, or `balancePlatform`. The `paymentInstrumentId` must be related to the `balanceAccountId` or `accountHolderId` that you provide. * @param reference {@link string } The reference you provided in the POST [/transfers](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers) request * @param category {@link 'bank' | 'card' | 'grants' | 'interest' | 'internal' | 'issuedCard' | 'migration' | 'platformPayment' | 'topUp' | 'upgrade' } The type of transfer. Possible values: - **bank**: Transfer to a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id) or a bank account. - **internal**: Transfer to another [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id) within your platform. - **issuedCard**: Transfer initiated by a Adyen-issued card. - **platformPayment**: Fund movements related to payments that are acquired for your users. - * @param sortOrder {@link 'asc' | 'desc' } The transfers sorting order. Possible values: - **asc**: Ascending order, from older to most recent. - **desc**: Descending order, from most recent to older. + * @param sortOrder {@link 'asc' | 'desc' } Determines the sort order of the returned transfers. The sort order is based on the creation date of the transfers. Possible values: - **asc**: Ascending order, from oldest to most recent. - **desc**: Descending order, from most recent to oldest. Default value: **asc**. * @param cursor {@link string } The `cursor` returned in the links of the previous response. * @param limit {@link number } The number of items returned per page, maximum of 100 items. By default, the response returns 10 items per page. * @return {@link FindTransfersResponse } diff --git a/src/typings/acsWebhooks/balancePlatformNotificationResponse.ts b/src/typings/acsWebhooks/balancePlatformNotificationResponse.ts index 18122d640..dedda166e 100644 --- a/src/typings/acsWebhooks/balancePlatformNotificationResponse.ts +++ b/src/typings/acsWebhooks/balancePlatformNotificationResponse.ts @@ -10,7 +10,7 @@ export class BalancePlatformNotificationResponse { /** - * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks/#accept-webhooks). */ "notificationResponse"?: string; diff --git a/src/typings/acsWebhooks/resource.ts b/src/typings/acsWebhooks/resource.ts index f45de4906..10876b6a6 100644 --- a/src/typings/acsWebhooks/resource.ts +++ b/src/typings/acsWebhooks/resource.ts @@ -14,7 +14,7 @@ export class Resource { */ "balancePlatform"?: string; /** - * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2025-03-19T10:15:30+01:00**. */ "creationDate"?: Date; /** diff --git a/src/typings/balancePlatform/additionalBankIdentificationRequirement.ts b/src/typings/balancePlatform/additionalBankIdentificationRequirement.ts new file mode 100644 index 000000000..17ce0ed05 --- /dev/null +++ b/src/typings/balancePlatform/additionalBankIdentificationRequirement.ts @@ -0,0 +1,67 @@ +/* + * The version of the OpenAPI document: v2 + * + * + * 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 AdditionalBankIdentificationRequirement { + /** + * The type of additional bank identification, depending on the country. Possible values: * **auBsbCode**: The 6-digit [Australian Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or spaces. * **caRoutingNumber**: The 9-digit [Canadian routing number](https://en.wikipedia.org/wiki/Routing_number_(Canada)), in EFT format, without separators or spaces. * **gbSortCode**: The 6-digit [UK sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or spaces * **usRoutingNumber**: The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or spaces. + */ + "additionalBankIdentificationType"?: AdditionalBankIdentificationRequirement.AdditionalBankIdentificationTypeEnum; + /** + * The description of the additional bank identification requirement. + */ + "description"?: string; + /** + * **additionalBankIdentificationRequirement** + */ + "type": AdditionalBankIdentificationRequirement.TypeEnum; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "additionalBankIdentificationType", + "baseName": "additionalBankIdentificationType", + "type": "AdditionalBankIdentificationRequirement.AdditionalBankIdentificationTypeEnum", + "format": "" + }, + { + "name": "description", + "baseName": "description", + "type": "string", + "format": "" + }, + { + "name": "type", + "baseName": "type", + "type": "AdditionalBankIdentificationRequirement.TypeEnum", + "format": "" + } ]; + + static getAttributeTypeMap() { + return AdditionalBankIdentificationRequirement.attributeTypeMap; + } + + public constructor() { + } +} + +export namespace AdditionalBankIdentificationRequirement { + export enum AdditionalBankIdentificationTypeEnum { + AuBsbCode = 'auBsbCode', + CaRoutingNumber = 'caRoutingNumber', + GbSortCode = 'gbSortCode', + UsRoutingNumber = 'usRoutingNumber' + } + export enum TypeEnum { + AdditionalBankIdentificationRequirement = 'additionalBankIdentificationRequirement' + } +} diff --git a/src/typings/balancePlatform/balanceAccount.ts b/src/typings/balancePlatform/balanceAccount.ts index e03981ec4..b4558fe00 100644 --- a/src/typings/balancePlatform/balanceAccount.ts +++ b/src/typings/balancePlatform/balanceAccount.ts @@ -13,7 +13,7 @@ import { PlatformPaymentConfiguration } from "./platformPaymentConfiguration"; export class BalanceAccount { /** - * The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/accountHolders__resParam_id) associated with the balance account. + * The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/accountHolders#responses-200-id) associated with the balance account. */ "accountHolderId": string; /** diff --git a/src/typings/balancePlatform/balanceAccountBase.ts b/src/typings/balancePlatform/balanceAccountBase.ts index 8d968a257..6b6743587 100644 --- a/src/typings/balancePlatform/balanceAccountBase.ts +++ b/src/typings/balancePlatform/balanceAccountBase.ts @@ -12,7 +12,7 @@ import { PlatformPaymentConfiguration } from "./platformPaymentConfiguration"; export class BalanceAccountBase { /** - * The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/accountHolders__resParam_id) associated with the balance account. + * The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/accountHolders#responses-200-id) associated with the balance account. */ "accountHolderId": string; /** diff --git a/src/typings/balancePlatform/balanceAccountInfo.ts b/src/typings/balancePlatform/balanceAccountInfo.ts index d7ec03c21..3317f432a 100644 --- a/src/typings/balancePlatform/balanceAccountInfo.ts +++ b/src/typings/balancePlatform/balanceAccountInfo.ts @@ -12,7 +12,7 @@ import { PlatformPaymentConfiguration } from "./platformPaymentConfiguration"; export class BalanceAccountInfo { /** - * The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/accountHolders__resParam_id) associated with the balance account. + * The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/accountHolders#responses-200-id) associated with the balance account. */ "accountHolderId": string; /** diff --git a/src/typings/balancePlatform/balanceAccountUpdateRequest.ts b/src/typings/balancePlatform/balanceAccountUpdateRequest.ts index 91662c7c7..800271cce 100644 --- a/src/typings/balancePlatform/balanceAccountUpdateRequest.ts +++ b/src/typings/balancePlatform/balanceAccountUpdateRequest.ts @@ -12,7 +12,7 @@ import { PlatformPaymentConfiguration } from "./platformPaymentConfiguration"; export class BalanceAccountUpdateRequest { /** - * The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/accountHolders__resParam_id) associated with the balance account. + * The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/accountHolders#responses-200-id) associated with the balance account. */ "accountHolderId"?: string; /** diff --git a/src/typings/balancePlatform/card.ts b/src/typings/balancePlatform/card.ts index 72745c879..3fd874fc3 100644 --- a/src/typings/balancePlatform/card.ts +++ b/src/typings/balancePlatform/card.ts @@ -54,6 +54,10 @@ export class Card { * The 3DS configuration of the physical or the virtual card. Possible values: **fullySupported**, **secureCorporate**. > Reach out to your Adyen contact to get the values relevant for your integration. */ "threeDSecure"?: string; + /** + * Specifies how many times the card can be used. Possible values: **singleUse**, **multiUse**. > Reach out to your Adyen contact to determine the value relevant for your integration. + */ + "usage"?: string; static readonly discriminator: string | undefined = undefined; @@ -137,6 +141,12 @@ export class Card { "baseName": "threeDSecure", "type": "string", "format": "" + }, + { + "name": "usage", + "baseName": "usage", + "type": "string", + "format": "" } ]; static getAttributeTypeMap() { diff --git a/src/typings/balancePlatform/cardInfo.ts b/src/typings/balancePlatform/cardInfo.ts index 9531d6d8e..6aec84221 100644 --- a/src/typings/balancePlatform/cardInfo.ts +++ b/src/typings/balancePlatform/cardInfo.ts @@ -36,6 +36,10 @@ export class CardInfo { * The 3DS configuration of the physical or the virtual card. Possible values: **fullySupported**, **secureCorporate**. > Reach out to your Adyen contact to get the values relevant for your integration. */ "threeDSecure"?: string; + /** + * Specifies how many times the card can be used. Possible values: **singleUse**, **multiUse**. > Reach out to your Adyen contact to determine the value relevant for your integration. + */ + "usage"?: string; static readonly discriminator: string | undefined = undefined; @@ -89,6 +93,12 @@ export class CardInfo { "baseName": "threeDSecure", "type": "string", "format": "" + }, + { + "name": "usage", + "baseName": "usage", + "type": "string", + "format": "" } ]; static getAttributeTypeMap() { diff --git a/src/typings/balancePlatform/cardOrderItem.ts b/src/typings/balancePlatform/cardOrderItem.ts index fe05bcce8..3fceeaec5 100644 --- a/src/typings/balancePlatform/cardOrderItem.ts +++ b/src/typings/balancePlatform/cardOrderItem.ts @@ -21,7 +21,7 @@ export class CardOrderItem { */ "cardOrderItemId"?: string; /** - * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2025-03-19T10:15:30+01:00**. */ "creationDate"?: Date; /** diff --git a/src/typings/balancePlatform/createSweepConfigurationV2.ts b/src/typings/balancePlatform/createSweepConfigurationV2.ts index af69ac418..5006ce693 100644 --- a/src/typings/balancePlatform/createSweepConfigurationV2.ts +++ b/src/typings/balancePlatform/createSweepConfigurationV2.ts @@ -180,6 +180,7 @@ export namespace CreateSweepConfigurationV2 { export enum ReasonEnum { AccountHierarchyNotActive = 'accountHierarchyNotActive', AmountLimitExceeded = 'amountLimitExceeded', + ApprovalExpired = 'approvalExpired', Approved = 'approved', BalanceAccountTemporarilyBlockedByTransactionRule = 'balanceAccountTemporarilyBlockedByTransactionRule', CounterpartyAccountBlocked = 'counterpartyAccountBlocked', diff --git a/src/typings/balancePlatform/models.ts b/src/typings/balancePlatform/models.ts index f0c40f5d8..763c9785c 100644 --- a/src/typings/balancePlatform/models.ts +++ b/src/typings/balancePlatform/models.ts @@ -6,6 +6,7 @@ export * from "./accountHolderUpdateRequest" export * from "./accountSupportingEntityCapability" export * from "./activeNetworkTokensRestriction" export * from "./additionalBankIdentification" +export * from "./additionalBankIdentificationRequirement" export * from "./address" export * from "./addressRequirement" export * from "./amount" diff --git a/src/typings/balancePlatform/networkToken.ts b/src/typings/balancePlatform/networkToken.ts index 7b8006a46..dcad14960 100644 --- a/src/typings/balancePlatform/networkToken.ts +++ b/src/typings/balancePlatform/networkToken.ts @@ -17,7 +17,7 @@ export class NetworkToken { */ "brandVariant"?: string; /** - * Date and time when the network token was created, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) extended format. For example, **2020-12-18T10:15:30+01:00**.. + * Date and time when the network token was created, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) extended format. For example, **2025-03-19T10:15:30+01:00**.. */ "creationDate"?: Date; "device"?: DeviceInfo | null; diff --git a/src/typings/balancePlatform/networkTokenActivationDataRequest.ts b/src/typings/balancePlatform/networkTokenActivationDataRequest.ts index b2547a5a0..400ee57a5 100644 --- a/src/typings/balancePlatform/networkTokenActivationDataRequest.ts +++ b/src/typings/balancePlatform/networkTokenActivationDataRequest.ts @@ -10,7 +10,7 @@ export class NetworkTokenActivationDataRequest { /** - * A block of data automatically generated by Adyen\'s SDK for network token provisioning. This `sdkInput` is required to create provisioning data for the network token. For more information, see the repositories for Adyen\'s SDKs for network token provisioning: * [Adyen Apple Pay Provisioning SDK](https://github.com/Adyen/adyen-apple-pay-provisioning-ios). * [Adyen Google Wallet Provisioning SDK](https://github.com/Adyen/adyen-issuing-android) + * A block of data automatically generated by Adyen\'s SDK for network token provisioning. This `sdkOutput` is required to create provisioning data for the network token. For more information, see the repositories for Adyen\'s SDKs for network token provisioning: * [Adyen Apple Pay Provisioning SDK](https://github.com/Adyen/adyen-apple-pay-provisioning-ios). * [Adyen Google Wallet Provisioning SDK](https://github.com/Adyen/adyen-issuing-android) */ "sdkOutput"?: string; diff --git a/src/typings/balancePlatform/networkTokenActivationDataResponse.ts b/src/typings/balancePlatform/networkTokenActivationDataResponse.ts index bc078ddcd..841f81b67 100644 --- a/src/typings/balancePlatform/networkTokenActivationDataResponse.ts +++ b/src/typings/balancePlatform/networkTokenActivationDataResponse.ts @@ -10,7 +10,7 @@ export class NetworkTokenActivationDataResponse { /** - * A block of data automatically generated by Adyen\'s SDK for network token provisioning. This `sdkInput` is required to create provisioning data for the network token. For more information, see the repositories for Adyen\'s SDKs for network token provisioning: * [Adyen Apple Pay Provisioning SDK](https://github.com/Adyen/adyen-apple-pay-provisioning-ios). * [Adyen Google Wallet Provisioning SDK](https://github.com/Adyen/adyen-issuing-android) + * A block of data that contains the activation data for a network token. This `sdkInput` is required to initialize Adyen\'s SDK for network token provisioning. For more information, see the repositories for Adyen\'s SDKs for network token provisioning: * [Adyen Apple Pay Provisioning SDK](https://github.com/Adyen/adyen-apple-pay-provisioning-ios). * [Adyen Google Wallet Provisioning SDK](https://github.com/Adyen/adyen-issuing-android) */ "sdkInput"?: string; diff --git a/src/typings/balancePlatform/objectSerializer.ts b/src/typings/balancePlatform/objectSerializer.ts index fa2dc46bd..71e4d5917 100644 --- a/src/typings/balancePlatform/objectSerializer.ts +++ b/src/typings/balancePlatform/objectSerializer.ts @@ -8,6 +8,7 @@ import { AccountHolderUpdateRequest } from "./accountHolderUpdateRequest"; import { AccountSupportingEntityCapability } from "./accountSupportingEntityCapability"; import { ActiveNetworkTokensRestriction } from "./activeNetworkTokensRestriction"; import { AdditionalBankIdentification } from "./additionalBankIdentification"; +import { AdditionalBankIdentificationRequirement } from "./additionalBankIdentificationRequirement"; import { Address } from "./address"; import { AddressRequirement } from "./addressRequirement"; import { Amount } from "./amount"; @@ -205,6 +206,8 @@ let enumsMap: Set = new Set([ "AccountSupportingEntityCapability.RequestedLevelEnum", "AccountSupportingEntityCapability.VerificationStatusEnum", "AdditionalBankIdentification.TypeEnum", + "AdditionalBankIdentificationRequirement.AdditionalBankIdentificationTypeEnum", + "AdditionalBankIdentificationRequirement.TypeEnum", "AddressRequirement.RequiredAddressFieldsEnum", "AddressRequirement.TypeEnum", "AmountMinMaxRequirement.TypeEnum", @@ -306,8 +309,9 @@ let enumsMap: Set = new Set([ "TransferRoute.PriorityEnum", "TransferRouteRequest.CategoryEnum", "TransferRouteRequest.PrioritiesEnum", - "TransferRouteRequirementsInner.RequiredAddressFieldsEnum", + "TransferRouteRequirementsInner.AdditionalBankIdentificationTypeEnum", "TransferRouteRequirementsInner.TypeEnum", + "TransferRouteRequirementsInner.RequiredAddressFieldsEnum", "TransferRouteRequirementsInner.BankAccountIdentificationTypesEnum", "TransferRouteRequirementsInner.PaymentInstrumentTypeEnum", "UKLocalAccountIdentification.TypeEnum", @@ -341,6 +345,7 @@ let typeMap: {[index: string]: any} = { "AccountSupportingEntityCapability": AccountSupportingEntityCapability, "ActiveNetworkTokensRestriction": ActiveNetworkTokensRestriction, "AdditionalBankIdentification": AdditionalBankIdentification, + "AdditionalBankIdentificationRequirement": AdditionalBankIdentificationRequirement, "Address": Address, "AddressRequirement": AddressRequirement, "Amount": Amount, diff --git a/src/typings/balancePlatform/sweepConfigurationV2.ts b/src/typings/balancePlatform/sweepConfigurationV2.ts index f6e6903c0..d3dd16c85 100644 --- a/src/typings/balancePlatform/sweepConfigurationV2.ts +++ b/src/typings/balancePlatform/sweepConfigurationV2.ts @@ -190,6 +190,7 @@ export namespace SweepConfigurationV2 { export enum ReasonEnum { AccountHierarchyNotActive = 'accountHierarchyNotActive', AmountLimitExceeded = 'amountLimitExceeded', + ApprovalExpired = 'approvalExpired', Approved = 'approved', BalanceAccountTemporarilyBlockedByTransactionRule = 'balanceAccountTemporarilyBlockedByTransactionRule', CounterpartyAccountBlocked = 'counterpartyAccountBlocked', diff --git a/src/typings/balancePlatform/transactionRule.ts b/src/typings/balancePlatform/transactionRule.ts index 8de46cb38..5a535a747 100644 --- a/src/typings/balancePlatform/transactionRule.ts +++ b/src/typings/balancePlatform/transactionRule.ts @@ -22,7 +22,7 @@ export class TransactionRule { */ "description": string; /** - * The date when the rule will stop being evaluated, in ISO 8601 extended offset date-time format. For example, **2020-12-18T10:15:30+01:00**. If not provided, the rule will be evaluated until the rule status is set to **inactive**. + * The date when the rule will stop being evaluated, in ISO 8601 extended offset date-time format. For example, **2025-03-19T10:15:30+01:00**. If not provided, the rule will be evaluated until the rule status is set to **inactive**. */ "endDate"?: string; "entityKey": TransactionRuleEntityKey; @@ -49,7 +49,7 @@ export class TransactionRule { */ "score"?: number; /** - * The date when the rule will start to be evaluated, in ISO 8601 extended offset date-time format. For example, **2020-12-18T10:15:30+01:00**. If not provided when creating a transaction rule, the `startDate` is set to the date when the rule status is set to **active**. + * The date when the rule will start to be evaluated, in ISO 8601 extended offset date-time format. For example, **2025-03-19T10:15:30+01:00**. If not provided when creating a transaction rule, the `startDate` is set to the date when the rule status is set to **active**. */ "startDate"?: string; /** diff --git a/src/typings/balancePlatform/transactionRuleInfo.ts b/src/typings/balancePlatform/transactionRuleInfo.ts index b252ee194..144426e2c 100644 --- a/src/typings/balancePlatform/transactionRuleInfo.ts +++ b/src/typings/balancePlatform/transactionRuleInfo.ts @@ -22,7 +22,7 @@ export class TransactionRuleInfo { */ "description": string; /** - * The date when the rule will stop being evaluated, in ISO 8601 extended offset date-time format. For example, **2020-12-18T10:15:30+01:00**. If not provided, the rule will be evaluated until the rule status is set to **inactive**. + * The date when the rule will stop being evaluated, in ISO 8601 extended offset date-time format. For example, **2025-03-19T10:15:30+01:00**. If not provided, the rule will be evaluated until the rule status is set to **inactive**. */ "endDate"?: string; "entityKey": TransactionRuleEntityKey; @@ -45,7 +45,7 @@ export class TransactionRuleInfo { */ "score"?: number; /** - * The date when the rule will start to be evaluated, in ISO 8601 extended offset date-time format. For example, **2020-12-18T10:15:30+01:00**. If not provided when creating a transaction rule, the `startDate` is set to the date when the rule status is set to **active**. + * The date when the rule will start to be evaluated, in ISO 8601 extended offset date-time format. For example, **2025-03-19T10:15:30+01:00**. If not provided when creating a transaction rule, the `startDate` is set to the date when the rule status is set to **active**. */ "startDate"?: string; /** diff --git a/src/typings/balancePlatform/transferRouteRequirementsInner.ts b/src/typings/balancePlatform/transferRouteRequirementsInner.ts index d347f2e19..cd36ed1c1 100644 --- a/src/typings/balancePlatform/transferRouteRequirementsInner.ts +++ b/src/typings/balancePlatform/transferRouteRequirementsInner.ts @@ -7,6 +7,7 @@ * Do not edit this class manually. */ +import { AdditionalBankIdentificationRequirement } from "./additionalBankIdentificationRequirement"; import { AddressRequirement } from "./addressRequirement"; import { AmountMinMaxRequirement } from "./amountMinMaxRequirement"; import { AmountNonZeroDecimalsRequirement } from "./amountNonZeroDecimalsRequirement"; @@ -22,7 +23,7 @@ import { USInternationalAchAddressRequirement } from "./uSInternationalAchAddres * Type * @export */ -export type TransferRouteRequirementsInner = AddressRequirement | AmountMinMaxRequirement | AmountNonZeroDecimalsRequirement | BankAccountIdentificationTypeRequirement | IbanAccountIdentificationRequirement | PaymentInstrumentRequirement | USInstantPayoutAddressRequirement | USInternationalAchAddressRequirement; +export type TransferRouteRequirementsInner = AdditionalBankIdentificationRequirement | AddressRequirement | AmountMinMaxRequirement | AmountNonZeroDecimalsRequirement | BankAccountIdentificationTypeRequirement | IbanAccountIdentificationRequirement | PaymentInstrumentRequirement | USInstantPayoutAddressRequirement | USInternationalAchAddressRequirement; /** * @type TransferRouteRequirementsInnerClass diff --git a/src/typings/balancePlatform/updateSweepConfigurationV2.ts b/src/typings/balancePlatform/updateSweepConfigurationV2.ts index 5e6295584..6b3a2b9f8 100644 --- a/src/typings/balancePlatform/updateSweepConfigurationV2.ts +++ b/src/typings/balancePlatform/updateSweepConfigurationV2.ts @@ -190,6 +190,7 @@ export namespace UpdateSweepConfigurationV2 { export enum ReasonEnum { AccountHierarchyNotActive = 'accountHierarchyNotActive', AmountLimitExceeded = 'amountLimitExceeded', + ApprovalExpired = 'approvalExpired', Approved = 'approved', BalanceAccountTemporarilyBlockedByTransactionRule = 'balanceAccountTemporarilyBlockedByTransactionRule', CounterpartyAccountBlocked = 'counterpartyAccountBlocked', diff --git a/src/typings/balanceWebhooks/balanceNotificationData.ts b/src/typings/balanceWebhooks/balanceNotificationData.ts index 85783fa41..833509870 100644 --- a/src/typings/balanceWebhooks/balanceNotificationData.ts +++ b/src/typings/balanceWebhooks/balanceNotificationData.ts @@ -21,11 +21,11 @@ export class BalanceNotificationData { "balancePlatform"?: string; "balances": Balances; /** - * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2025-03-19T10:15:30+01:00**. */ "creationDate"?: Date; /** - * TThe three-character [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). */ "currency": string; /** diff --git a/src/typings/balanceWebhooks/balancePlatformNotificationResponse.ts b/src/typings/balanceWebhooks/balancePlatformNotificationResponse.ts index 18122d640..dedda166e 100644 --- a/src/typings/balanceWebhooks/balancePlatformNotificationResponse.ts +++ b/src/typings/balanceWebhooks/balancePlatformNotificationResponse.ts @@ -10,7 +10,7 @@ export class BalancePlatformNotificationResponse { /** - * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks/#accept-webhooks). */ "notificationResponse"?: string; diff --git a/src/typings/configurationWebhooks/balanceAccount.ts b/src/typings/configurationWebhooks/balanceAccount.ts index e03981ec4..b4558fe00 100644 --- a/src/typings/configurationWebhooks/balanceAccount.ts +++ b/src/typings/configurationWebhooks/balanceAccount.ts @@ -13,7 +13,7 @@ import { PlatformPaymentConfiguration } from "./platformPaymentConfiguration"; export class BalanceAccount { /** - * The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/accountHolders__resParam_id) associated with the balance account. + * The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/accountHolders#responses-200-id) associated with the balance account. */ "accountHolderId": string; /** diff --git a/src/typings/configurationWebhooks/balancePlatformNotificationResponse.ts b/src/typings/configurationWebhooks/balancePlatformNotificationResponse.ts index 7f66baeac..76850348a 100644 --- a/src/typings/configurationWebhooks/balancePlatformNotificationResponse.ts +++ b/src/typings/configurationWebhooks/balancePlatformNotificationResponse.ts @@ -10,7 +10,7 @@ export class BalancePlatformNotificationResponse { /** - * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks/#accept-webhooks). */ "notificationResponse"?: string; diff --git a/src/typings/configurationWebhooks/card.ts b/src/typings/configurationWebhooks/card.ts index 72745c879..3fd874fc3 100644 --- a/src/typings/configurationWebhooks/card.ts +++ b/src/typings/configurationWebhooks/card.ts @@ -54,6 +54,10 @@ export class Card { * The 3DS configuration of the physical or the virtual card. Possible values: **fullySupported**, **secureCorporate**. > Reach out to your Adyen contact to get the values relevant for your integration. */ "threeDSecure"?: string; + /** + * Specifies how many times the card can be used. Possible values: **singleUse**, **multiUse**. > Reach out to your Adyen contact to determine the value relevant for your integration. + */ + "usage"?: string; static readonly discriminator: string | undefined = undefined; @@ -137,6 +141,12 @@ export class Card { "baseName": "threeDSecure", "type": "string", "format": "" + }, + { + "name": "usage", + "baseName": "usage", + "type": "string", + "format": "" } ]; static getAttributeTypeMap() { diff --git a/src/typings/configurationWebhooks/cardOrderItem.ts b/src/typings/configurationWebhooks/cardOrderItem.ts index fe05bcce8..3fceeaec5 100644 --- a/src/typings/configurationWebhooks/cardOrderItem.ts +++ b/src/typings/configurationWebhooks/cardOrderItem.ts @@ -21,7 +21,7 @@ export class CardOrderItem { */ "cardOrderItemId"?: string; /** - * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2025-03-19T10:15:30+01:00**. */ "creationDate"?: Date; /** diff --git a/src/typings/configurationWebhooks/models.ts b/src/typings/configurationWebhooks/models.ts index 605665c0a..7b9712252 100644 --- a/src/typings/configurationWebhooks/models.ts +++ b/src/typings/configurationWebhooks/models.ts @@ -32,6 +32,10 @@ export * from "./name" export * from "./networkTokenNotificationDataV2" export * from "./networkTokenNotificationRequest" export * from "./networkTokenRequestor" +export * from "./networkTokenRiskRuleData" +export * from "./networkTokenRiskRuleSource" +export * from "./networkTokenTransactionRulesResult" +export * from "./networkTokenTriggeredRiskRule" export * from "./paymentInstrument" export * from "./paymentInstrumentAdditionalBankAccountIdentificationsInner" export * from "./paymentInstrumentNotificationData" diff --git a/src/typings/configurationWebhooks/networkTokenNotificationDataV2.ts b/src/typings/configurationWebhooks/networkTokenNotificationDataV2.ts index d3b8d75df..9161c3564 100644 --- a/src/typings/configurationWebhooks/networkTokenNotificationDataV2.ts +++ b/src/typings/configurationWebhooks/networkTokenNotificationDataV2.ts @@ -8,6 +8,7 @@ */ import { NetworkTokenRequestor } from "./networkTokenRequestor"; +import { NetworkTokenTransactionRulesResult } from "./networkTokenTransactionRulesResult"; import { TokenAuthentication } from "./tokenAuthentication"; import { ValidationFacts } from "./validationFacts"; import { Wallet } from "./wallet"; @@ -44,8 +45,9 @@ export class NetworkTokenNotificationDataV2 { */ "tokenLastFour"?: string; "tokenRequestor"?: NetworkTokenRequestor | null; + "transactionRulesResult"?: NetworkTokenTransactionRulesResult | null; /** - * The type of network token. + * The type of network token. Possible values: **wallet**, **cof**. */ "type"?: string; /** @@ -113,6 +115,12 @@ export class NetworkTokenNotificationDataV2 { "type": "NetworkTokenRequestor | null", "format": "" }, + { + "name": "transactionRulesResult", + "baseName": "transactionRulesResult", + "type": "NetworkTokenTransactionRulesResult | null", + "format": "" + }, { "name": "type", "baseName": "type", diff --git a/src/typings/configurationWebhooks/networkTokenRequestor.ts b/src/typings/configurationWebhooks/networkTokenRequestor.ts index 5abbd5260..a07c4b881 100644 --- a/src/typings/configurationWebhooks/networkTokenRequestor.ts +++ b/src/typings/configurationWebhooks/networkTokenRequestor.ts @@ -10,7 +10,7 @@ export class NetworkTokenRequestor { /** - * The id of the network token requestor. + * The unique identifier of the network token requestor. */ "id"?: string; /** diff --git a/src/typings/configurationWebhooks/networkTokenRiskRuleData.ts b/src/typings/configurationWebhooks/networkTokenRiskRuleData.ts new file mode 100644 index 000000000..45f925161 --- /dev/null +++ b/src/typings/configurationWebhooks/networkTokenRiskRuleData.ts @@ -0,0 +1,76 @@ +/* + * The version of the OpenAPI document: v2 + * + * + * 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 NetworkTokenRiskRuleData { + /** + * The description of the transaction rule. + */ + "description"?: string; + /** + * The unique identifier of the transaction rule. + */ + "id"?: string; + /** + * The outcome type of the transaction rule. + */ + "outcomeType"?: string; + /** + * The reference for the transaction rule. + */ + "reference"?: string; + /** + * The transaction score determined by the rule. + */ + "score"?: number; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "description", + "baseName": "description", + "type": "string", + "format": "" + }, + { + "name": "id", + "baseName": "id", + "type": "string", + "format": "" + }, + { + "name": "outcomeType", + "baseName": "outcomeType", + "type": "string", + "format": "" + }, + { + "name": "reference", + "baseName": "reference", + "type": "string", + "format": "" + }, + { + "name": "score", + "baseName": "score", + "type": "number", + "format": "int32" + } ]; + + static getAttributeTypeMap() { + return NetworkTokenRiskRuleData.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/src/typings/configurationWebhooks/networkTokenRiskRuleSource.ts b/src/typings/configurationWebhooks/networkTokenRiskRuleSource.ts new file mode 100644 index 000000000..041aacaee --- /dev/null +++ b/src/typings/configurationWebhooks/networkTokenRiskRuleSource.ts @@ -0,0 +1,46 @@ +/* + * The version of the OpenAPI document: v2 + * + * + * 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 NetworkTokenRiskRuleSource { + /** + * The unique identifier of the resource to which the transaction rule applies. + */ + "id"?: string; + /** + * Indicates the type of resource for which the transaction rule is defined. Possible values: * **PaymentInstrumentGroup** * **PaymentInstrument** * **BalancePlatform** * **EntityUsageConfiguration** * **PlatformRule**: The transaction rule is a platform-wide rule imposed by Adyen. + */ + "type"?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "id", + "baseName": "id", + "type": "string", + "format": "" + }, + { + "name": "type", + "baseName": "type", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return NetworkTokenRiskRuleSource.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/src/typings/configurationWebhooks/networkTokenTransactionRulesResult.ts b/src/typings/configurationWebhooks/networkTokenTransactionRulesResult.ts new file mode 100644 index 000000000..552ef8e26 --- /dev/null +++ b/src/typings/configurationWebhooks/networkTokenTransactionRulesResult.ts @@ -0,0 +1,68 @@ +/* + * The version of the OpenAPI document: v2 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit this class manually. + */ + +import { NetworkTokenTriggeredRiskRule } from "./networkTokenTriggeredRiskRule"; + + +export class NetworkTokenTransactionRulesResult { + /** + * The advice given by the Risk analysis. + */ + "advice"?: string; + /** + * Indicates whether the transaction passed all rules with `outcomeType` **hardBlock**. + */ + "allHardBlockRulesPassed"?: boolean; + /** + * The score of the Risk analysis. + */ + "score"?: number; + /** + * Contains a list of all triggered transaction rules and the corresponding data. + */ + "triggeredTransactionRules"?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "advice", + "baseName": "advice", + "type": "string", + "format": "" + }, + { + "name": "allHardBlockRulesPassed", + "baseName": "allHardBlockRulesPassed", + "type": "boolean", + "format": "" + }, + { + "name": "score", + "baseName": "score", + "type": "number", + "format": "int32" + }, + { + "name": "triggeredTransactionRules", + "baseName": "triggeredTransactionRules", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return NetworkTokenTransactionRulesResult.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/src/typings/configurationWebhooks/networkTokenTriggeredRiskRule.ts b/src/typings/configurationWebhooks/networkTokenTriggeredRiskRule.ts new file mode 100644 index 000000000..a0558336a --- /dev/null +++ b/src/typings/configurationWebhooks/networkTokenTriggeredRiskRule.ts @@ -0,0 +1,53 @@ +/* + * The version of the OpenAPI document: v2 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit this class manually. + */ + +import { NetworkTokenRiskRuleData } from "./networkTokenRiskRuleData"; +import { NetworkTokenRiskRuleSource } from "./networkTokenRiskRuleSource"; + + +export class NetworkTokenTriggeredRiskRule { + /** + * Explains why the transaction rule failed. + */ + "reason"?: string; + "transactionRule"?: NetworkTokenRiskRuleData | null; + "transactionRuleSource"?: NetworkTokenRiskRuleSource | null; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "reason", + "baseName": "reason", + "type": "string", + "format": "" + }, + { + "name": "transactionRule", + "baseName": "transactionRule", + "type": "NetworkTokenRiskRuleData | null", + "format": "" + }, + { + "name": "transactionRuleSource", + "baseName": "transactionRuleSource", + "type": "NetworkTokenRiskRuleSource | null", + "format": "" + } ]; + + static getAttributeTypeMap() { + return NetworkTokenTriggeredRiskRule.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/src/typings/configurationWebhooks/objectSerializer.ts b/src/typings/configurationWebhooks/objectSerializer.ts index 034b7bb05..a552a697d 100644 --- a/src/typings/configurationWebhooks/objectSerializer.ts +++ b/src/typings/configurationWebhooks/objectSerializer.ts @@ -34,6 +34,10 @@ import { Name } from "./name"; import { NetworkTokenNotificationDataV2 } from "./networkTokenNotificationDataV2"; import { NetworkTokenNotificationRequest } from "./networkTokenNotificationRequest"; import { NetworkTokenRequestor } from "./networkTokenRequestor"; +import { NetworkTokenRiskRuleData } from "./networkTokenRiskRuleData"; +import { NetworkTokenRiskRuleSource } from "./networkTokenRiskRuleSource"; +import { NetworkTokenTransactionRulesResult } from "./networkTokenTransactionRulesResult"; +import { NetworkTokenTriggeredRiskRule } from "./networkTokenTriggeredRiskRule"; import { PaymentInstrument } from "./paymentInstrument"; import { PaymentInstrumentAdditionalBankAccountIdentificationsInnerClass } from "./paymentInstrumentAdditionalBankAccountIdentificationsInner"; import { PaymentInstrumentNotificationData } from "./paymentInstrumentNotificationData"; @@ -145,6 +149,10 @@ let typeMap: {[index: string]: any} = { "NetworkTokenNotificationDataV2": NetworkTokenNotificationDataV2, "NetworkTokenNotificationRequest": NetworkTokenNotificationRequest, "NetworkTokenRequestor": NetworkTokenRequestor, + "NetworkTokenRiskRuleData": NetworkTokenRiskRuleData, + "NetworkTokenRiskRuleSource": NetworkTokenRiskRuleSource, + "NetworkTokenTransactionRulesResult": NetworkTokenTransactionRulesResult, + "NetworkTokenTriggeredRiskRule": NetworkTokenTriggeredRiskRule, "PaymentInstrument": PaymentInstrument, "PaymentInstrumentAdditionalBankAccountIdentificationsInner": PaymentInstrumentAdditionalBankAccountIdentificationsInnerClass, "PaymentInstrumentNotificationData": PaymentInstrumentNotificationData, diff --git a/src/typings/configurationWebhooks/resource.ts b/src/typings/configurationWebhooks/resource.ts index c2649f92f..a9831dabb 100644 --- a/src/typings/configurationWebhooks/resource.ts +++ b/src/typings/configurationWebhooks/resource.ts @@ -14,7 +14,7 @@ export class Resource { */ "balancePlatform"?: string; /** - * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2025-03-19T10:15:30+01:00**. */ "creationDate"?: Date; /** diff --git a/src/typings/configurationWebhooks/sweepConfigurationV2.ts b/src/typings/configurationWebhooks/sweepConfigurationV2.ts index f6e6903c0..d3dd16c85 100644 --- a/src/typings/configurationWebhooks/sweepConfigurationV2.ts +++ b/src/typings/configurationWebhooks/sweepConfigurationV2.ts @@ -190,6 +190,7 @@ export namespace SweepConfigurationV2 { export enum ReasonEnum { AccountHierarchyNotActive = 'accountHierarchyNotActive', AmountLimitExceeded = 'amountLimitExceeded', + ApprovalExpired = 'approvalExpired', Approved = 'approved', BalanceAccountTemporarilyBlockedByTransactionRule = 'balanceAccountTemporarilyBlockedByTransactionRule', CounterpartyAccountBlocked = 'counterpartyAccountBlocked', diff --git a/src/typings/legalEntityManagement/address.ts b/src/typings/legalEntityManagement/address.ts index 985fcf08c..235592230 100644 --- a/src/typings/legalEntityManagement/address.ts +++ b/src/typings/legalEntityManagement/address.ts @@ -22,7 +22,7 @@ export class Address { */ "postalCode"?: string; /** - * The two-letter ISO 3166-2 state or province code. For example, **CA** in the US. If you specify the state or province, you must also send `city`, `postalCode`, and `street`. + * The two-letter ISO 3166-2 state or province code. For example, **CA** in the US. Required for Australia and New Zealand. If you specify the state or province, you must also send `city`, `postalCode`, and `street`. */ "stateOrProvince"?: string; /** diff --git a/src/typings/negativeBalanceWarningWebhooks/negativeBalanceCompensationWarningNotificationData.ts b/src/typings/negativeBalanceWarningWebhooks/negativeBalanceCompensationWarningNotificationData.ts index 0fe4440e7..c61d5c0a2 100644 --- a/src/typings/negativeBalanceWarningWebhooks/negativeBalanceCompensationWarningNotificationData.ts +++ b/src/typings/negativeBalanceWarningWebhooks/negativeBalanceCompensationWarningNotificationData.ts @@ -19,7 +19,7 @@ export class NegativeBalanceCompensationWarningNotificationData { */ "balancePlatform"?: string; /** - * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2025-03-19T10:15:30+01:00**. */ "creationDate"?: Date; /** diff --git a/src/typings/negativeBalanceWarningWebhooks/resource.ts b/src/typings/negativeBalanceWarningWebhooks/resource.ts index f45de4906..10876b6a6 100644 --- a/src/typings/negativeBalanceWarningWebhooks/resource.ts +++ b/src/typings/negativeBalanceWarningWebhooks/resource.ts @@ -14,7 +14,7 @@ export class Resource { */ "balancePlatform"?: string; /** - * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2025-03-19T10:15:30+01:00**. */ "creationDate"?: Date; /** diff --git a/src/typings/reportWebhooks/balancePlatformNotificationResponse.ts b/src/typings/reportWebhooks/balancePlatformNotificationResponse.ts index 18122d640..dedda166e 100644 --- a/src/typings/reportWebhooks/balancePlatformNotificationResponse.ts +++ b/src/typings/reportWebhooks/balancePlatformNotificationResponse.ts @@ -10,7 +10,7 @@ export class BalancePlatformNotificationResponse { /** - * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks/#accept-webhooks). */ "notificationResponse"?: string; diff --git a/src/typings/reportWebhooks/reportNotificationData.ts b/src/typings/reportWebhooks/reportNotificationData.ts index bd9cfde78..e7ffb7eba 100644 --- a/src/typings/reportWebhooks/reportNotificationData.ts +++ b/src/typings/reportWebhooks/reportNotificationData.ts @@ -18,7 +18,7 @@ export class ReportNotificationData { */ "balancePlatform"?: string; /** - * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2025-03-19T10:15:30+01:00**. */ "creationDate"?: Date; /** diff --git a/src/typings/reportWebhooks/resource.ts b/src/typings/reportWebhooks/resource.ts index f45de4906..10876b6a6 100644 --- a/src/typings/reportWebhooks/resource.ts +++ b/src/typings/reportWebhooks/resource.ts @@ -14,7 +14,7 @@ export class Resource { */ "balancePlatform"?: string; /** - * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2025-03-19T10:15:30+01:00**. */ "creationDate"?: Date; /** diff --git a/src/typings/transactionWebhooks/balancePlatformNotificationResponse.ts b/src/typings/transactionWebhooks/balancePlatformNotificationResponse.ts index cdc77073e..20fbaeb4f 100644 --- a/src/typings/transactionWebhooks/balancePlatformNotificationResponse.ts +++ b/src/typings/transactionWebhooks/balancePlatformNotificationResponse.ts @@ -10,7 +10,7 @@ export class BalancePlatformNotificationResponse { /** - * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks/#accept-webhooks). */ "notificationResponse"?: string; diff --git a/src/typings/transactionWebhooks/resource.ts b/src/typings/transactionWebhooks/resource.ts index b96700779..19ff17ecf 100644 --- a/src/typings/transactionWebhooks/resource.ts +++ b/src/typings/transactionWebhooks/resource.ts @@ -14,7 +14,7 @@ export class Resource { */ "balancePlatform"?: string; /** - * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2025-03-19T10:15:30+01:00**. */ "creationDate"?: Date; /** diff --git a/src/typings/transactionWebhooks/transaction.ts b/src/typings/transactionWebhooks/transaction.ts index 23cb7d6dd..042c4ce66 100644 --- a/src/typings/transactionWebhooks/transaction.ts +++ b/src/typings/transactionWebhooks/transaction.ts @@ -26,7 +26,7 @@ export class Transaction { */ "bookingDate": Date; /** - * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2025-03-19T10:15:30+01:00**. */ "creationDate"?: Date; /** diff --git a/src/typings/transferWebhooks/balancePlatformNotificationResponse.ts b/src/typings/transferWebhooks/balancePlatformNotificationResponse.ts index cdc77073e..20fbaeb4f 100644 --- a/src/typings/transferWebhooks/balancePlatformNotificationResponse.ts +++ b/src/typings/transferWebhooks/balancePlatformNotificationResponse.ts @@ -10,7 +10,7 @@ export class BalancePlatformNotificationResponse { /** - * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications). + * Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks/#accept-webhooks). */ "notificationResponse"?: string; diff --git a/src/typings/transferWebhooks/partyIdentification.ts b/src/typings/transferWebhooks/partyIdentification.ts index e874d6a3d..37f7bae9c 100644 --- a/src/typings/transferWebhooks/partyIdentification.ts +++ b/src/typings/transferWebhooks/partyIdentification.ts @@ -17,6 +17,10 @@ export class PartyIdentification { */ "dateOfBirth"?: string; /** + * The email address of the organization or individual. Maximum length: 254 characters. + */ + "email"?: string; + /** * The first name of the individual. Supported characters: [a-z] [A-Z] - . / — and space. This parameter is: - Allowed only when `type` is **individual**. - Required when `category` is **card**. */ "firstName"?: string; @@ -36,6 +40,10 @@ export class PartyIdentification { * The type of entity that owns the bank account or card. Possible values: **individual**, **organization**, or **unknown**. Required when `category` is **card**. In this case, the value must be **individual**. */ "type"?: PartyIdentification.TypeEnum; + /** + * The URL of the organization or individual. Maximum length: 255 characters. + */ + "url"?: string; static readonly discriminator: string | undefined = undefined; @@ -54,6 +62,12 @@ export class PartyIdentification { "type": "string", "format": "date" }, + { + "name": "email", + "baseName": "email", + "type": "string", + "format": "" + }, { "name": "firstName", "baseName": "firstName", @@ -83,6 +97,12 @@ export class PartyIdentification { "baseName": "type", "type": "PartyIdentification.TypeEnum", "format": "" + }, + { + "name": "url", + "baseName": "url", + "type": "string", + "format": "" } ]; static getAttributeTypeMap() { diff --git a/src/typings/transferWebhooks/resource.ts b/src/typings/transferWebhooks/resource.ts index b96700779..19ff17ecf 100644 --- a/src/typings/transferWebhooks/resource.ts +++ b/src/typings/transferWebhooks/resource.ts @@ -14,7 +14,7 @@ export class Resource { */ "balancePlatform"?: string; /** - * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2025-03-19T10:15:30+01:00**. */ "creationDate"?: Date; /** diff --git a/src/typings/transferWebhooks/transactionRuleReference.ts b/src/typings/transferWebhooks/transactionRuleReference.ts index 3614ed8ed..a4625f681 100644 --- a/src/typings/transferWebhooks/transactionRuleReference.ts +++ b/src/typings/transferWebhooks/transactionRuleReference.ts @@ -26,7 +26,7 @@ export class TransactionRuleReference { */ "reference"?: string; /** - * The score of the rule in case it\'s a scoreBased rule. + * The transaction score determined by the rule. Returned only when `outcomeType` is **scoreBased**. */ "score"?: number; diff --git a/src/typings/transferWebhooks/transferData.ts b/src/typings/transferWebhooks/transferData.ts index 83cbc0331..34b955023 100644 --- a/src/typings/transferWebhooks/transferData.ts +++ b/src/typings/transferWebhooks/transferData.ts @@ -311,6 +311,7 @@ export namespace TransferData { export enum ReasonEnum { AccountHierarchyNotActive = 'accountHierarchyNotActive', AmountLimitExceeded = 'amountLimitExceeded', + ApprovalExpired = 'approvalExpired', Approved = 'approved', BalanceAccountTemporarilyBlockedByTransactionRule = 'balanceAccountTemporarilyBlockedByTransactionRule', CounterpartyAccountBlocked = 'counterpartyAccountBlocked', diff --git a/src/typings/transferWebhooks/transferDataTracking.ts b/src/typings/transferWebhooks/transferDataTracking.ts index e2e22ae77..3d942bc34 100644 --- a/src/typings/transferWebhooks/transferDataTracking.ts +++ b/src/typings/transferWebhooks/transferDataTracking.ts @@ -35,7 +35,6 @@ export class TransferDataTrackingClass { static readonly mapping: {[index: string]: string} | undefined = { "confirmation": "ConfirmationTrackingData", "estimation": "EstimationTrackingData", - "internalReview": "InternalReviewTrackingData", + "internalReview": "InternalReviewTrackingData" }; - -} \ No newline at end of file +} diff --git a/src/typings/transferWebhooks/transferEvent.ts b/src/typings/transferWebhooks/transferEvent.ts index 55302e06f..6a15b1023 100644 --- a/src/typings/transferWebhooks/transferEvent.ts +++ b/src/typings/transferWebhooks/transferEvent.ts @@ -201,6 +201,7 @@ export namespace TransferEvent { export enum ReasonEnum { AccountHierarchyNotActive = 'accountHierarchyNotActive', AmountLimitExceeded = 'amountLimitExceeded', + ApprovalExpired = 'approvalExpired', Approved = 'approved', BalanceAccountTemporarilyBlockedByTransactionRule = 'balanceAccountTemporarilyBlockedByTransactionRule', CounterpartyAccountBlocked = 'counterpartyAccountBlocked', diff --git a/src/typings/transfers/partyIdentification.ts b/src/typings/transfers/partyIdentification.ts index e874d6a3d..37f7bae9c 100644 --- a/src/typings/transfers/partyIdentification.ts +++ b/src/typings/transfers/partyIdentification.ts @@ -17,6 +17,10 @@ export class PartyIdentification { */ "dateOfBirth"?: string; /** + * The email address of the organization or individual. Maximum length: 254 characters. + */ + "email"?: string; + /** * The first name of the individual. Supported characters: [a-z] [A-Z] - . / — and space. This parameter is: - Allowed only when `type` is **individual**. - Required when `category` is **card**. */ "firstName"?: string; @@ -36,6 +40,10 @@ export class PartyIdentification { * The type of entity that owns the bank account or card. Possible values: **individual**, **organization**, or **unknown**. Required when `category` is **card**. In this case, the value must be **individual**. */ "type"?: PartyIdentification.TypeEnum; + /** + * The URL of the organization or individual. Maximum length: 255 characters. + */ + "url"?: string; static readonly discriminator: string | undefined = undefined; @@ -54,6 +62,12 @@ export class PartyIdentification { "type": "string", "format": "date" }, + { + "name": "email", + "baseName": "email", + "type": "string", + "format": "" + }, { "name": "firstName", "baseName": "firstName", @@ -83,6 +97,12 @@ export class PartyIdentification { "baseName": "type", "type": "PartyIdentification.TypeEnum", "format": "" + }, + { + "name": "url", + "baseName": "url", + "type": "string", + "format": "" } ]; static getAttributeTypeMap() { diff --git a/src/typings/transfers/transaction.ts b/src/typings/transfers/transaction.ts index 23cb7d6dd..042c4ce66 100644 --- a/src/typings/transfers/transaction.ts +++ b/src/typings/transfers/transaction.ts @@ -26,7 +26,7 @@ export class Transaction { */ "bookingDate": Date; /** - * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**. + * The date and time when the event was triggered, in ISO 8601 extended format. For example, **2025-03-19T10:15:30+01:00**. */ "creationDate"?: Date; /** diff --git a/src/typings/transfers/transactionRuleReference.ts b/src/typings/transfers/transactionRuleReference.ts index 3614ed8ed..a4625f681 100644 --- a/src/typings/transfers/transactionRuleReference.ts +++ b/src/typings/transfers/transactionRuleReference.ts @@ -26,7 +26,7 @@ export class TransactionRuleReference { */ "reference"?: string; /** - * The score of the rule in case it\'s a scoreBased rule. + * The transaction score determined by the rule. Returned only when `outcomeType` is **scoreBased**. */ "score"?: number; diff --git a/src/typings/transfers/transfer.ts b/src/typings/transfers/transfer.ts index 91d7b7c8f..9eb6ef1c6 100644 --- a/src/typings/transfers/transfer.ts +++ b/src/typings/transfers/transfer.ts @@ -225,6 +225,7 @@ export namespace Transfer { export enum ReasonEnum { AccountHierarchyNotActive = 'accountHierarchyNotActive', AmountLimitExceeded = 'amountLimitExceeded', + ApprovalExpired = 'approvalExpired', Approved = 'approved', BalanceAccountTemporarilyBlockedByTransactionRule = 'balanceAccountTemporarilyBlockedByTransactionRule', CounterpartyAccountBlocked = 'counterpartyAccountBlocked', diff --git a/src/typings/transfers/transferData.ts b/src/typings/transfers/transferData.ts index f39dace5e..df4ca7130 100644 --- a/src/typings/transfers/transferData.ts +++ b/src/typings/transfers/transferData.ts @@ -311,6 +311,7 @@ export namespace TransferData { export enum ReasonEnum { AccountHierarchyNotActive = 'accountHierarchyNotActive', AmountLimitExceeded = 'amountLimitExceeded', + ApprovalExpired = 'approvalExpired', Approved = 'approved', BalanceAccountTemporarilyBlockedByTransactionRule = 'balanceAccountTemporarilyBlockedByTransactionRule', CounterpartyAccountBlocked = 'counterpartyAccountBlocked', diff --git a/src/typings/transfers/transferEvent.ts b/src/typings/transfers/transferEvent.ts index 55302e06f..6a15b1023 100644 --- a/src/typings/transfers/transferEvent.ts +++ b/src/typings/transfers/transferEvent.ts @@ -201,6 +201,7 @@ export namespace TransferEvent { export enum ReasonEnum { AccountHierarchyNotActive = 'accountHierarchyNotActive', AmountLimitExceeded = 'amountLimitExceeded', + ApprovalExpired = 'approvalExpired', Approved = 'approved', BalanceAccountTemporarilyBlockedByTransactionRule = 'balanceAccountTemporarilyBlockedByTransactionRule', CounterpartyAccountBlocked = 'counterpartyAccountBlocked', diff --git a/src/typings/transfers/ultimatePartyIdentification.ts b/src/typings/transfers/ultimatePartyIdentification.ts index 5844416f4..c1b288ba4 100644 --- a/src/typings/transfers/ultimatePartyIdentification.ts +++ b/src/typings/transfers/ultimatePartyIdentification.ts @@ -17,6 +17,10 @@ export class UltimatePartyIdentification { */ "dateOfBirth"?: string; /** + * The email address of the organization or individual. Maximum length: 254 characters. + */ + "email"?: string; + /** * The first name of the individual. Supported characters: [a-z] [A-Z] - . / — and space. This parameter is: - Allowed only when `type` is **individual**. - Required when `category` is **card**. */ "firstName"?: string; @@ -36,6 +40,10 @@ export class UltimatePartyIdentification { * The type of entity that owns the bank account or card. Possible values: **individual**, **organization**, or **unknown**. Required when `category` is **card**. In this case, the value must be **individual**. */ "type"?: UltimatePartyIdentification.TypeEnum; + /** + * The URL of the organization or individual. Maximum length: 255 characters. + */ + "url"?: string; static readonly discriminator: string | undefined = undefined; @@ -54,6 +62,12 @@ export class UltimatePartyIdentification { "type": "string", "format": "date" }, + { + "name": "email", + "baseName": "email", + "type": "string", + "format": "" + }, { "name": "firstName", "baseName": "firstName", @@ -83,6 +97,12 @@ export class UltimatePartyIdentification { "baseName": "type", "type": "UltimatePartyIdentification.TypeEnum", "format": "" + }, + { + "name": "url", + "baseName": "url", + "type": "string", + "format": "" } ]; static getAttributeTypeMap() {