Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/services/balancePlatform/paymentInstrumentsApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<NetworkTokenActivationDataResponse> {
public async createNetworkTokenProvisioningData(id: string, networkTokenActivationDataRequest: NetworkTokenActivationDataRequest, requestOptions?: IRequest.Options): Promise<NetworkTokenActivationDataResponse> {
const endpoint = `${this.baseUrl}/paymentInstruments/{id}/networkTokenActivationData`
.replace("{" + "id" + "}", encodeURIComponent(String(id)));
const resource = new Resource(this, endpoint);
Expand Down
2 changes: 1 addition & 1 deletion src/services/transfers/transactionsApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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\&#39;t provide a &#x60;balanceAccountId&#x60; or &#x60;balancePlatform&#x60;. If you provide a &#x60;balanceAccountId&#x60;, the &#x60;accountHolderId&#x60; must be related to the &#x60;balanceAccountId&#x60;.
* @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\&#39;t provide an &#x60;accountHolderId&#x60; or &#x60;balancePlatform&#x60;. If you provide an &#x60;accountHolderId&#x60;, the &#x60;balanceAccountId&#x60; must be related to the &#x60;accountHolderId&#x60;.
* @param cursor {@link string } The &#x60;cursor&#x60; returned in the links of the previous response.
* @param sortOrder {@link &#39;asc&#39; | &#39;desc&#39; } 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 &#39;asc&#39; | &#39;desc&#39; } 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 }
*/
Expand Down
2 changes: 1 addition & 1 deletion src/services/transfers/transfersApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 &#x60;balanceAccountId&#x60;, &#x60;accountHolderId&#x60;, or &#x60;balancePlatform&#x60;. The &#x60;paymentInstrumentId&#x60; must be related to the &#x60;balanceAccountId&#x60; or &#x60;accountHolderId&#x60; 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 &#39;bank&#39; | &#39;card&#39; | &#39;grants&#39; | &#39;interest&#39; | &#39;internal&#39; | &#39;issuedCard&#39; | &#39;migration&#39; | &#39;platformPayment&#39; | &#39;topUp&#39; | &#39;upgrade&#39; } 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 &#39;asc&#39; | &#39;desc&#39; } 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 &#39;asc&#39; | &#39;desc&#39; } 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 &#x60;cursor&#x60; 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 }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion src/typings/acsWebhooks/resource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
/**
Expand Down
Original file line number Diff line number Diff line change
@@ -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'
}
}
2 changes: 1 addition & 1 deletion src/typings/balancePlatform/balanceAccount.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
/**
Expand Down
2 changes: 1 addition & 1 deletion src/typings/balancePlatform/balanceAccountBase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
/**
Expand Down
2 changes: 1 addition & 1 deletion src/typings/balancePlatform/balanceAccountInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
/**
Expand Down
10 changes: 10 additions & 0 deletions src/typings/balancePlatform/card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -137,6 +141,12 @@ export class Card {
"baseName": "threeDSecure",
"type": "string",
"format": ""
},
{
"name": "usage",
"baseName": "usage",
"type": "string",
"format": ""
} ];

static getAttributeTypeMap() {
Expand Down
10 changes: 10 additions & 0 deletions src/typings/balancePlatform/cardInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -89,6 +93,12 @@ export class CardInfo {
"baseName": "threeDSecure",
"type": "string",
"format": ""
},
{
"name": "usage",
"baseName": "usage",
"type": "string",
"format": ""
} ];

static getAttributeTypeMap() {
Expand Down
2 changes: 1 addition & 1 deletion src/typings/balancePlatform/cardOrderItem.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ export namespace CreateSweepConfigurationV2 {
export enum ReasonEnum {
AccountHierarchyNotActive = 'accountHierarchyNotActive',
AmountLimitExceeded = 'amountLimitExceeded',
ApprovalExpired = 'approvalExpired',
Approved = 'approved',
BalanceAccountTemporarilyBlockedByTransactionRule = 'balanceAccountTemporarilyBlockedByTransactionRule',
CounterpartyAccountBlocked = 'counterpartyAccountBlocked',
Expand Down
1 change: 1 addition & 0 deletions src/typings/balancePlatform/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/typings/balancePlatform/networkToken.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
7 changes: 6 additions & 1 deletion src/typings/balancePlatform/objectSerializer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -205,6 +206,8 @@ let enumsMap: Set<string> = new Set<string>([
"AccountSupportingEntityCapability.RequestedLevelEnum",
"AccountSupportingEntityCapability.VerificationStatusEnum",
"AdditionalBankIdentification.TypeEnum",
"AdditionalBankIdentificationRequirement.AdditionalBankIdentificationTypeEnum",
"AdditionalBankIdentificationRequirement.TypeEnum",
"AddressRequirement.RequiredAddressFieldsEnum",
"AddressRequirement.TypeEnum",
"AmountMinMaxRequirement.TypeEnum",
Expand Down Expand Up @@ -306,8 +309,9 @@ let enumsMap: Set<string> = new Set<string>([
"TransferRoute.PriorityEnum",
"TransferRouteRequest.CategoryEnum",
"TransferRouteRequest.PrioritiesEnum",
"TransferRouteRequirementsInner.RequiredAddressFieldsEnum",
"TransferRouteRequirementsInner.AdditionalBankIdentificationTypeEnum",
"TransferRouteRequirementsInner.TypeEnum",
"TransferRouteRequirementsInner.RequiredAddressFieldsEnum",
"TransferRouteRequirementsInner.BankAccountIdentificationTypesEnum",
"TransferRouteRequirementsInner.PaymentInstrumentTypeEnum",
"UKLocalAccountIdentification.TypeEnum",
Expand Down Expand Up @@ -341,6 +345,7 @@ let typeMap: {[index: string]: any} = {
"AccountSupportingEntityCapability": AccountSupportingEntityCapability,
"ActiveNetworkTokensRestriction": ActiveNetworkTokensRestriction,
"AdditionalBankIdentification": AdditionalBankIdentification,
"AdditionalBankIdentificationRequirement": AdditionalBankIdentificationRequirement,
"Address": Address,
"AddressRequirement": AddressRequirement,
"Amount": Amount,
Expand Down
1 change: 1 addition & 0 deletions src/typings/balancePlatform/sweepConfigurationV2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ export namespace SweepConfigurationV2 {
export enum ReasonEnum {
AccountHierarchyNotActive = 'accountHierarchyNotActive',
AmountLimitExceeded = 'amountLimitExceeded',
ApprovalExpired = 'approvalExpired',
Approved = 'approved',
BalanceAccountTemporarilyBlockedByTransactionRule = 'balanceAccountTemporarilyBlockedByTransactionRule',
CounterpartyAccountBlocked = 'counterpartyAccountBlocked',
Expand Down
Loading
Loading