Skip to content

Commit 96297a6

Browse files
AdyenAutomationBotAdyenAutomationBotDjoykeAbyah
authored
Update all services (#1363)
* [reformat][adyen-sdk-automation] automated change * style(fmt): code formatted * Update transferRoute.ts --------- Co-authored-by: AdyenAutomationBot <Adyen Automation plugins_dev@adyen.com> Co-authored-by: Djoyke Reijans <115019123+DjoykeAbyah@users.noreply.github.com>
1 parent f0727ad commit 96297a6

Some content is hidden

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

48 files changed

+896
-108
lines changed

src/typings/balancePlatform/createSweepConfigurationV2.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export class CreateSweepConfigurationV2 {
2626
*/
2727
'description'?: string;
2828
/**
29-
* The list of priorities for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. You can provide multiple priorities. Adyen will try to pay out using the priority you list first. If that\'s not possible, it moves on to the next option in the order of your provided priorities. Possible values: * **regular**: For normal, low-value transactions. * **fast**: Faster way to transfer funds but has higher fees. Recommended for high-priority, low-value transactions. * **wire**: Fastest way to transfer funds but has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: Instant way to transfer funds in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: High-value transfer to a recipient in a different country. * **internal**: Transfer to an Adyen-issued business bank account (by bank account number/IBAN). Set `category` to **bank**. For more details, see optional priorities setup for [marketplaces](https://docs.adyen.com/marketplaces/payout-to-users/scheduled-payouts#optional-priorities-setup) or [platforms](https://docs.adyen.com/platforms/payout-to-users/scheduled-payouts#optional-priorities-setup).
29+
* The list of priorities for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. You can provide multiple priorities. Adyen will try to pay out using the priority you list first. If that\'s not possible, it moves on to the next option in the order of your provided priorities. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). Set `category` to **bank**. For more details, see optional priorities setup for [marketplaces](https://docs.adyen.com/marketplaces/payout-to-users/scheduled-payouts#optional-priorities-setup) or [platforms](https://docs.adyen.com/platforms/payout-to-users/scheduled-payouts#optional-priorities-setup).
3030
*/
3131
'priorities'?: Array<CreateSweepConfigurationV2.PrioritiesEnum>;
3232
/**
@@ -157,6 +157,7 @@ export namespace CreateSweepConfigurationV2 {
157157
CounterpartyAddressRequired = 'counterpartyAddressRequired',
158158
CounterpartyBankTimedOut = 'counterpartyBankTimedOut',
159159
CounterpartyBankUnavailable = 'counterpartyBankUnavailable',
160+
Declined = 'declined',
160161
DeclinedByTransactionRule = 'declinedByTransactionRule',
161162
Error = 'error',
162163
NotEnoughBalance = 'notEnoughBalance',
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
/*
2+
* The version of the OpenAPI document: v2
3+
*
4+
*
5+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
6+
* https://openapi-generator.tech
7+
* Do not edit this class manually.
8+
*/
9+
10+
11+
export class MatchingValuesRestriction {
12+
/**
13+
* Defines how the condition must be evaluated.
14+
*/
15+
'operation': string;
16+
'value'?: Array<MatchingValuesRestriction.ValueEnum>;
17+
18+
static discriminator: string | undefined = undefined;
19+
20+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
21+
{
22+
"name": "operation",
23+
"baseName": "operation",
24+
"type": "string"
25+
},
26+
{
27+
"name": "value",
28+
"baseName": "value",
29+
"type": "Array<MatchingValuesRestriction.ValueEnum>"
30+
} ];
31+
32+
static getAttributeTypeMap() {
33+
return MatchingValuesRestriction.attributeTypeMap;
34+
}
35+
}
36+
37+
export namespace MatchingValuesRestriction {
38+
export enum ValueEnum {
39+
AcquirerId = 'acquirerId',
40+
Amount = 'amount',
41+
Currency = 'currency',
42+
MerchantId = 'merchantId',
43+
MerchantName = 'merchantName'
44+
}
45+
}

src/typings/balancePlatform/models.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ export * from './invalidField';
8282
export * from './link';
8383
export * from './listNetworkTokensResponse';
8484
export * from './matchingTransactionsRestriction';
85+
export * from './matchingValuesRestriction';
8586
export * from './mccsRestriction';
8687
export * from './merchantAcquirerPair';
8788
export * from './merchantNamesRestriction';
@@ -231,6 +232,7 @@ import { InvalidField } from './invalidField';
231232
import { Link } from './link';
232233
import { ListNetworkTokensResponse } from './listNetworkTokensResponse';
233234
import { MatchingTransactionsRestriction } from './matchingTransactionsRestriction';
235+
import { MatchingValuesRestriction } from './matchingValuesRestriction';
234236
import { MccsRestriction } from './mccsRestriction';
235237
import { MerchantAcquirerPair } from './merchantAcquirerPair';
236238
import { MerchantNamesRestriction } from './merchantNamesRestriction';
@@ -365,6 +367,7 @@ let enumsMap: {[index: string]: any} = {
365367
"HKLocalAccountIdentification.TypeEnum": HKLocalAccountIdentification.TypeEnum,
366368
"HULocalAccountIdentification.TypeEnum": HULocalAccountIdentification.TypeEnum,
367369
"IbanAccountIdentification.TypeEnum": IbanAccountIdentification.TypeEnum,
370+
"MatchingValuesRestriction.ValueEnum": MatchingValuesRestriction.ValueEnum,
368371
"NOLocalAccountIdentification.TypeEnum": NOLocalAccountIdentification.TypeEnum,
369372
"NZLocalAccountIdentification.TypeEnum": NZLocalAccountIdentification.TypeEnum,
370373
"NetworkToken.StatusEnum": NetworkToken.StatusEnum,
@@ -501,6 +504,7 @@ let typeMap: {[index: string]: any} = {
501504
"Link": Link,
502505
"ListNetworkTokensResponse": ListNetworkTokensResponse,
503506
"MatchingTransactionsRestriction": MatchingTransactionsRestriction,
507+
"MatchingValuesRestriction": MatchingValuesRestriction,
504508
"MccsRestriction": MccsRestriction,
505509
"MerchantAcquirerPair": MerchantAcquirerPair,
506510
"MerchantNamesRestriction": MerchantNamesRestriction,

src/typings/balancePlatform/paymentInstrument.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ export class PaymentInstrument {
4747
*/
4848
'status'?: PaymentInstrument.StatusEnum;
4949
/**
50+
* The status comment provides additional information for the statusReason of the payment instrument.
51+
*/
52+
'statusComment'?: string;
53+
/**
5054
* The reason for the status of the payment instrument. Possible values: **accountClosure**, **damaged**, **endOfLife**, **expired**, **lost**, **stolen**, **suspectedFraud**, **transactionRule**, **other**. If the reason is **other**, you must also send the `statusComment` parameter describing the status change.
5155
*/
5256
'statusReason'?: PaymentInstrument.StatusReasonEnum;
@@ -108,6 +112,11 @@ export class PaymentInstrument {
108112
"baseName": "status",
109113
"type": "PaymentInstrument.StatusEnum"
110114
},
115+
{
116+
"name": "statusComment",
117+
"baseName": "statusComment",
118+
"type": "string"
119+
},
111120
{
112121
"name": "statusReason",
113122
"baseName": "statusReason",

src/typings/balancePlatform/paymentInstrumentInfo.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ export class PaymentInstrumentInfo {
3838
*/
3939
'status'?: PaymentInstrumentInfo.StatusEnum;
4040
/**
41+
* The status comment provides additional information for the statusReason of the payment instrument.
42+
*/
43+
'statusComment'?: string;
44+
/**
4145
* The reason for the status of the payment instrument. Possible values: **accountClosure**, **damaged**, **endOfLife**, **expired**, **lost**, **stolen**, **suspectedFraud**, **transactionRule**, **other**. If the reason is **other**, you must also send the `statusComment` parameter describing the status change.
4246
*/
4347
'statusReason'?: PaymentInstrumentInfo.StatusReasonEnum;
@@ -89,6 +93,11 @@ export class PaymentInstrumentInfo {
8993
"baseName": "status",
9094
"type": "PaymentInstrumentInfo.StatusEnum"
9195
},
96+
{
97+
"name": "statusComment",
98+
"baseName": "statusComment",
99+
"type": "string"
100+
},
92101
{
93102
"name": "statusReason",
94103
"baseName": "statusReason",

src/typings/balancePlatform/sweepConfigurationV2.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export class SweepConfigurationV2 {
3030
*/
3131
'id': string;
3232
/**
33-
* The list of priorities for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. You can provide multiple priorities. Adyen will try to pay out using the priority you list first. If that\'s not possible, it moves on to the next option in the order of your provided priorities. Possible values: * **regular**: For normal, low-value transactions. * **fast**: Faster way to transfer funds but has higher fees. Recommended for high-priority, low-value transactions. * **wire**: Fastest way to transfer funds but has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: Instant way to transfer funds in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: High-value transfer to a recipient in a different country. * **internal**: Transfer to an Adyen-issued business bank account (by bank account number/IBAN). Set `category` to **bank**. For more details, see optional priorities setup for [marketplaces](https://docs.adyen.com/marketplaces/payout-to-users/scheduled-payouts#optional-priorities-setup) or [platforms](https://docs.adyen.com/platforms/payout-to-users/scheduled-payouts#optional-priorities-setup).
33+
* The list of priorities for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. You can provide multiple priorities. Adyen will try to pay out using the priority you list first. If that\'s not possible, it moves on to the next option in the order of your provided priorities. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). Set `category` to **bank**. For more details, see optional priorities setup for [marketplaces](https://docs.adyen.com/marketplaces/payout-to-users/scheduled-payouts#optional-priorities-setup) or [platforms](https://docs.adyen.com/platforms/payout-to-users/scheduled-payouts#optional-priorities-setup).
3434
*/
3535
'priorities'?: Array<SweepConfigurationV2.PrioritiesEnum>;
3636
/**
@@ -166,6 +166,7 @@ export namespace SweepConfigurationV2 {
166166
CounterpartyAddressRequired = 'counterpartyAddressRequired',
167167
CounterpartyBankTimedOut = 'counterpartyBankTimedOut',
168168
CounterpartyBankUnavailable = 'counterpartyBankUnavailable',
169+
Declined = 'declined',
169170
DeclinedByTransactionRule = 'declinedByTransactionRule',
170171
Error = 'error',
171172
NotEnoughBalance = 'notEnoughBalance',

src/typings/balancePlatform/sweepCounterparty.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@
1010

1111
export class SweepCounterparty {
1212
/**
13-
* The unique identifier of the destination or source [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id). You can only use this for periodic sweep schedules such as `schedule.type` **daily** or **monthly**.
13+
* The unique identifier of the destination or source [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id). > If you are updating the counterparty from a transfer instrument to a balance account, set `transferInstrumentId` to **null**.
1414
*/
1515
'balanceAccountId'?: string;
1616
/**
17-
* The merchant account that will be the source of funds. You can only use this parameter with sweeps of `type` **pull** and `schedule.type` **balance**, and if you are processing payments with Adyen.
17+
* The merchant account that will be the source of funds. You can only use this parameter with sweeps of `type` **pull** and if you are processing payments with Adyen.
1818
*/
1919
'merchantAccount'?: string;
2020
/**
21-
* The unique identifier of the destination or source [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments#responses-200-id) depending on the sweep `type`. To set up automated top-up sweeps to balance accounts in your [marketplace](https://docs.adyen.com/marketplaces/top-up-balance-account/#before-you-begin) or [platform](https://docs.adyen.com/platforms/top-up-balance-account/#before-you-begin), use this parameter in combination with a `merchantAccount` and a sweep `type` of **pull**. Top-up sweeps start a direct debit request from the source transfer instrument. Contact Adyen Support to enable this feature.
21+
* The unique identifier of the destination or source [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments#responses-200-id) depending on the sweep `type` . To set up automated top-up sweeps to balance accounts in your [marketplace](https://docs.adyen.com/marketplaces/top-up-balance-account/#before-you-begin) or [platform](https://docs.adyen.com/platforms/top-up-balance-account/#before-you-begin), use this parameter in combination with a `merchantAccount` and a sweep `type` of **pull**. Top-up sweeps start a direct debit request from the source transfer instrument. Contact Adyen Support to enable this feature.> If you are updating the counterparty from a balance account to a transfer instrument, set `balanceAccountId` to **null**.
2222
*/
2323
'transferInstrumentId'?: string;
2424

src/typings/balancePlatform/sweepSchedule.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export class SweepSchedule {
1414
*/
1515
'cronExpression'?: string;
1616
/**
17-
* The schedule type. Possible values: * **cron**: push out funds based on a `cronExpression`. * **daily**: push out funds daily at 07:00 AM CET. * **weekly**: push out funds every Monday at 07:00 AM CET. * **monthly**: push out funds every first of the month at 07:00 AM CET. * **balance**: pull in funds instantly if the balance is less than or equal to the `triggerAmount`. You can only use this for sweeps of `type` **pull** and when the source is a `merchantAccount` or `transferInstrument`. If the source is transferInstrument, merchant account identifier is still required, with which you want to process the transaction.
17+
* The schedule type. Possible values: * **cron**: push out funds based on a `cronExpression`. * **daily**: push out funds daily at 07:00 AM CET. * **weekly**: push out funds every Monday at 07:00 AM CET. * **monthly**: push out funds every first of the month at 07:00 AM CET. * **balance**: execute the sweep instantly if the `triggerAmount` is reached.
1818
*/
1919
'type': SweepSchedule.TypeEnum;
2020

src/typings/balancePlatform/transactionRuleRestrictions.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ import { DifferentCurrenciesRestriction } from './differentCurrenciesRestriction
1616
import { EntryModesRestriction } from './entryModesRestriction';
1717
import { InternationalTransactionRestriction } from './internationalTransactionRestriction';
1818
import { MatchingTransactionsRestriction } from './matchingTransactionsRestriction';
19+
import { MatchingValuesRestriction } from './matchingValuesRestriction';
1920
import { MccsRestriction } from './mccsRestriction';
2021
import { MerchantNamesRestriction } from './merchantNamesRestriction';
2122
import { MerchantsRestriction } from './merchantsRestriction';
@@ -36,6 +37,7 @@ export class TransactionRuleRestrictions {
3637
'entryModes'?: EntryModesRestriction;
3738
'internationalTransaction'?: InternationalTransactionRestriction;
3839
'matchingTransactions'?: MatchingTransactionsRestriction;
40+
'matchingValues'?: MatchingValuesRestriction;
3941
'mccs'?: MccsRestriction;
4042
'merchantNames'?: MerchantNamesRestriction;
4143
'merchants'?: MerchantsRestriction;
@@ -94,6 +96,11 @@ export class TransactionRuleRestrictions {
9496
"baseName": "matchingTransactions",
9597
"type": "MatchingTransactionsRestriction"
9698
},
99+
{
100+
"name": "matchingValues",
101+
"baseName": "matchingValues",
102+
"type": "MatchingValuesRestriction"
103+
},
97104
{
98105
"name": "mccs",
99106
"baseName": "mccs",

src/typings/balancePlatform/transferRoute.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export class TransferRoute {
2626
*/
2727
'currency'?: string;
2828
/**
29-
* The priority for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. Possible values: * **regular**: For normal, low-value transactions. * **fast**: Faster way to transfer funds but has higher fees. Recommended for high-priority, low-value transactions. * **wire**: Fastest way to transfer funds but has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: Instant way to transfer funds in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: High-value transfer to a recipient in a different country. * **internal**: Transfer to an Adyen-issued business bank account (by bank account number/IBAN).
29+
* The priority for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN).
3030
*/
3131
'priority'?: TransferRoute.PriorityEnum;
3232
/**

src/typings/balancePlatform/transferRouteRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export class TransferRouteRequest {
3232
*/
3333
'currency': string;
3434
/**
35-
* The list of priorities for the bank transfer. Priorities set the speed at which the transfer is sent and the fees that you have to pay. Multiple values can be provided. Possible values: * **regular**: For normal, low-value transactions. * **fast**: Faster way to transfer funds but has higher fees. Recommended for high-priority, low-value transactions. * **wire**: Fastest way to transfer funds but has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: Instant way to transfer funds in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: High-value transfer to a recipient in a different country. * **internal**: Transfer to an Adyen-issued business bank account (by bank account number/IBAN).
35+
* The list of priorities for the bank transfer. Priorities set the speed at which the transfer is sent and the fees that you have to pay. Multiple values can be provided. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers in [SEPA countries](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN).
3636
*/
3737
'priorities'?: Array<TransferRouteRequest.PrioritiesEnum>;
3838

0 commit comments

Comments
 (0)