Skip to content

Commit bcb472d

Browse files
AdyenAutomationBotAdyenAutomationBotDjoykeAbyah
authored
Update all services (#1371)
* [reformat][adyen-sdk-automation] automated change * style(fmt): code formatted * Update transferRoute.ts removed import statement until sustainable fix implemented --------- Co-authored-by: AdyenAutomationBot <Adyen Automation plugins_dev@adyen.com> Co-authored-by: Djoyke Reijans <115019123+DjoykeAbyah@users.noreply.github.com>
1 parent ddf0d04 commit bcb472d

11 files changed

+540
-74
lines changed

src/typings/checkout/idealDetails.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export class IdealDetails {
1616
/**
1717
* The iDEAL issuer value of the shopper\'s selected bank. Set this to an **id** of an iDEAL issuer to preselect it.
1818
*/
19-
'issuer': string;
19+
'issuer'?: string;
2020
/**
2121
* This is the `recurringDetailReference` returned in the response when you created the token.
2222
*/

src/typings/checkout/idealDonations.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export class IdealDonations {
1616
/**
1717
* The iDEAL issuer value of the shopper\'s selected bank. Set this to an **id** of an iDEAL issuer to preselect it.
1818
*/
19-
'issuer': string;
19+
'issuer'?: string;
2020
/**
2121
* This is the `recurringDetailReference` returned in the response when you created the token.
2222
*/

src/typings/checkout/paymentDetails.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ export namespace PaymentDetails {
4141
export enum TypeEnum {
4242
Alipay = 'alipay',
4343
Multibanco = 'multibanco',
44-
BankTransferIban = 'bankTransfer_IBAN',
4544
Paybright = 'paybright',
4645
Paynow = 'paynow',
4746
Affirm = 'affirm',

src/typings/checkout/storedPaymentMethodDetails.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ export namespace StoredPaymentMethodDetails {
6060
BcmcMobile = 'bcmc_mobile',
6161
BcmcMobileQr = 'bcmc_mobile_QR',
6262
BcmcMobileApp = 'bcmc_mobile_app',
63+
BankTransferIban = 'bankTransfer_IBAN',
6364
MomoWallet = 'momo_wallet',
6465
MomoWalletApp = 'momo_wallet_app',
6566
Twint = 'twint',

src/typings/management/createCompanyUserRequest.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ export class CreateCompanyUserRequest {
2222
* The email address of the user.
2323
*/
2424
'email': string;
25+
/**
26+
* The requested login method for the user. To use SSO, you must already have SSO configured with Adyen before creating the user. Possible values: **Username & account**, **Email**, or **SSO**
27+
*/
28+
'loginMethod'?: string;
2529
'name': Name;
2630
/**
2731
* The list of [roles](https://docs.adyen.com/account/user-roles) for this user.
@@ -54,6 +58,11 @@ export class CreateCompanyUserRequest {
5458
"baseName": "email",
5559
"type": "string"
5660
},
61+
{
62+
"name": "loginMethod",
63+
"baseName": "loginMethod",
64+
"type": "string"
65+
},
5766
{
5867
"name": "name",
5968
"baseName": "name",

src/typings/management/createMerchantUserRequest.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ export class CreateMerchantUserRequest {
1818
* The email address of the user.
1919
*/
2020
'email': string;
21+
/**
22+
* The requested login method for the user. To use SSO, you must already have SSO configured with Adyen before creating the user. Possible values: **Username & account**, **Email**, or **SSO**
23+
*/
24+
'loginMethod'?: string;
2125
'name': Name;
2226
/**
2327
* The list of [roles](https://docs.adyen.com/account/user-roles) for this user.
@@ -45,6 +49,11 @@ export class CreateMerchantUserRequest {
4549
"baseName": "email",
4650
"type": "string"
4751
},
52+
{
53+
"name": "loginMethod",
54+
"baseName": "loginMethod",
55+
"type": "string"
56+
},
4857
{
4958
"name": "name",
5059
"baseName": "name",

src/typings/management/updateCompanyUserRequest.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ export class UpdateCompanyUserRequest {
2626
* The email address of the user.
2727
*/
2828
'email'?: string;
29+
/**
30+
* The requested login method for the user. To use SSO, you must already have SSO configured with Adyen before creating the user. Possible values: **Username & account**, **Email**, or **SSO**
31+
*/
32+
'loginMethod'?: string;
2933
'name'?: Name2;
3034
/**
3135
* The list of [roles](https://docs.adyen.com/account/user-roles) for this user.
@@ -59,6 +63,11 @@ export class UpdateCompanyUserRequest {
5963
"baseName": "email",
6064
"type": "string"
6165
},
66+
{
67+
"name": "loginMethod",
68+
"baseName": "loginMethod",
69+
"type": "string"
70+
},
6271
{
6372
"name": "name",
6473
"baseName": "name",

src/typings/management/updateMerchantUserRequest.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ export class UpdateMerchantUserRequest {
2222
* The email address of the user.
2323
*/
2424
'email'?: string;
25+
/**
26+
* The requested login method for the user. To use SSO, you must already have SSO configured with Adyen before creating the user. Possible values: **Username & account**, **Email**, or **SSO**
27+
*/
28+
'loginMethod'?: string;
2529
'name'?: Name2;
2630
/**
2731
* The list of [roles](https://docs.adyen.com/account/user-roles) for this user.
@@ -50,6 +54,11 @@ export class UpdateMerchantUserRequest {
5054
"baseName": "email",
5155
"type": "string"
5256
},
57+
{
58+
"name": "loginMethod",
59+
"baseName": "loginMethod",
60+
"type": "string"
61+
},
5362
{
5463
"name": "name",
5564
"baseName": "name",

src/typings/transfers/models.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ let enumsMap: {[index: string]: any} = {
221221
"TransferEvent.StatusEnum": TransferEvent.StatusEnum,
222222
"TransferEvent.TypeEnum": TransferEvent.TypeEnum,
223223
"TransferInfo.CategoryEnum": TransferInfo.CategoryEnum,
224+
"TransferInfo.PrioritiesEnum": TransferInfo.PrioritiesEnum,
224225
"TransferInfo.PriorityEnum": TransferInfo.PriorityEnum,
225226
"TransferInfo.TypeEnum": TransferInfo.TypeEnum,
226227
"UKLocalAccountIdentification.TypeEnum": UKLocalAccountIdentification.TypeEnum,

src/typings/transfers/transferInfo.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ export class TransferInfo {
3131
*/
3232
'paymentInstrumentId'?: string;
3333
/**
34+
* 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). Required for transfers with `category` **bank**. For more details, see [fallback priorities](https://docs.adyen.com/payouts/payout-service/payout-to-users/#fallback-priorities).
35+
*/
36+
'priorities'?: Array<TransferInfo.PrioritiesEnum>;
37+
/**
3438
* The priority for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. Required for transfers with `category` **bank**. 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).
3539
*/
3640
'priority'?: TransferInfo.PriorityEnum;
@@ -81,6 +85,11 @@ export class TransferInfo {
8185
"baseName": "paymentInstrumentId",
8286
"type": "string"
8387
},
88+
{
89+
"name": "priorities",
90+
"baseName": "priorities",
91+
"type": "Array<TransferInfo.PrioritiesEnum>"
92+
},
8493
{
8594
"name": "priority",
8695
"baseName": "priority",
@@ -120,6 +129,14 @@ export namespace TransferInfo {
120129
PlatformPayment = 'platformPayment',
121130
Card = 'card'
122131
}
132+
export enum PrioritiesEnum {
133+
CrossBorder = 'crossBorder',
134+
Fast = 'fast',
135+
Instant = 'instant',
136+
Internal = 'internal',
137+
Regular = 'regular',
138+
Wire = 'wire'
139+
}
123140
export enum PriorityEnum {
124141
CrossBorder = 'crossBorder',
125142
Fast = 'fast',

0 commit comments

Comments
 (0)