Skip to content

Commit 112be8b

Browse files
authored
Merge pull request #1423 from Adyen/sdk-automation/models
Update all services
2 parents b9e0df2 + f55e06f commit 112be8b

File tree

71 files changed

+252
-0
lines changed

Some content is hidden

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

71 files changed

+252
-0
lines changed

src/services/checkout/classicCheckoutSDKApi.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ export class ClassicCheckoutSDKApi extends Service {
3535
* @param paymentSetupRequest {@link PaymentSetupRequest }
3636
* @param requestOptions {@link IRequest.Options }
3737
* @return {@link PaymentSetupResponse }
38+
*
39+
* @deprecated since Adyen Checkout API v37
3840
*/
3941
public async paymentSession(paymentSetupRequest: PaymentSetupRequest, requestOptions?: IRequest.Options): Promise<PaymentSetupResponse> {
4042
const endpoint = `${this.baseUrl}/paymentSession`;
@@ -53,6 +55,8 @@ export class ClassicCheckoutSDKApi extends Service {
5355
* @param paymentVerificationRequest {@link PaymentVerificationRequest }
5456
* @param requestOptions {@link IRequest.Options }
5557
* @return {@link PaymentVerificationResponse }
58+
*
59+
* @deprecated since Adyen Checkout API v37
5660
*/
5761
public async verifyPaymentResult(paymentVerificationRequest: PaymentVerificationRequest, requestOptions?: IRequest.Options): Promise<PaymentVerificationResponse> {
5862
const endpoint = `${this.baseUrl}/payments/result`;

src/services/checkout/utilityApi.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ export class UtilityApi extends Service {
5555
* @param utilityRequest {@link UtilityRequest }
5656
* @param requestOptions {@link IRequest.Options }
5757
* @return {@link UtilityResponse }
58+
*
59+
* @deprecated since Adyen Checkout API v67
5860
*/
5961
public async originKeys(utilityRequest: UtilityRequest, requestOptions?: IRequest.Options): Promise<UtilityResponse> {
6062
const endpoint = `${this.baseUrl}/originKeys`;

src/services/paymentApi.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,8 @@ export class PaymentAPI extends Service {
172172
* @param donationRequest {@link DonationRequest }
173173
* @param requestOptions {@link IRequest.Options }
174174
* @return {@link ModificationResult }
175+
*
176+
* @deprecated
175177
*/
176178
public async donate(donationRequest: DonationRequest, requestOptions?: IRequest.Options): Promise<ModificationResult> {
177179
const endpoint = `${this.baseUrl}/donate`;

src/typings/balancePlatform/accountHolder.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ export class AccountHolder {
2020
* Contains key-value pairs that specify the actions that an account holder can do in your platform. The key is a capability required for your integration. For example, **issueCard** for Issuing. The value is an object containing the settings for the capability.
2121
*/
2222
'capabilities'?: { [key: string]: AccountHolderCapability; };
23+
/**
24+
* @deprecated
25+
*/
2326
'contactDetails'?: ContactDetails;
2427
/**
2528
* Your description for the account holder.

src/typings/balancePlatform/accountHolderInfo.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ export class AccountHolderInfo {
1919
* Contains key-value pairs that specify the actions that an account holder can do in your platform. The key is a capability required for your integration. For example, **issueCard** for Issuing. The value is an object containing the settings for the capability.
2020
*/
2121
'capabilities'?: { [key: string]: AccountHolderCapability; };
22+
/**
23+
* @deprecated
24+
*/
2225
'contactDetails'?: ContactDetails;
2326
/**
2427
* Your description for the account holder.

src/typings/balancePlatform/accountHolderUpdateRequest.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ export class AccountHolderUpdateRequest {
2020
* Contains key-value pairs that specify the actions that an account holder can do in your platform. The key is a capability required for your integration. For example, **issueCard** for Issuing. The value is an object containing the settings for the capability.
2121
*/
2222
'capabilities'?: { [key: string]: AccountHolderCapability; };
23+
/**
24+
* @deprecated
25+
*/
2326
'contactDetails'?: ContactDetails;
2427
/**
2528
* Your description for the account holder.

src/typings/balancePlatform/paymentInstrument.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ import { IbanAccountIdentification } from './ibanAccountIdentification';
1414
export class PaymentInstrument {
1515
/**
1616
* Contains optional, additional business account details. Returned when you create a payment instrument with `type` **bankAccount**.
17+
*
18+
* @deprecated since Configuration API v2
19+
* Please use `bankAccount` object instead
1720
*/
1821
'additionalBankAccountIdentifications'?: Array<IbanAccountIdentification>;
1922
/**

src/typings/balancePlatform/updatePaymentInstrument.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ import { IbanAccountIdentification } from './ibanAccountIdentification';
1414
export class UpdatePaymentInstrument {
1515
/**
1616
* Contains optional, additional business account details. Returned when you create a payment instrument with `type` **bankAccount**.
17+
*
18+
* @deprecated since Configuration API v2
19+
* Please use `bankAccount` object instead
1720
*/
1821
'additionalBankAccountIdentifications'?: Array<IbanAccountIdentification>;
1922
/**

src/typings/checkout/accountInfo.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,16 @@ export class AccountInfo {
4343
'deliveryAddressUsageIndicator'?: AccountInfo.DeliveryAddressUsageIndicatorEnum;
4444
/**
4545
* Shopper\'s home phone number (including the country code).
46+
*
47+
* @deprecated since Adyen Checkout API v68
48+
* Use `ThreeDS2RequestData.homePhone` instead.
4649
*/
4750
'homePhone'?: string;
4851
/**
4952
* Shopper\'s mobile phone number (including the country code).
53+
*
54+
* @deprecated since Adyen Checkout API v68
55+
* Use `ThreeDS2RequestData.mobilePhone` instead.
5056
*/
5157
'mobilePhone'?: string;
5258
/**
@@ -83,6 +89,9 @@ export class AccountInfo {
8389
'suspiciousActivity'?: boolean;
8490
/**
8591
* Shopper\'s work phone number (including the country code).
92+
*
93+
* @deprecated since Adyen Checkout API v68
94+
* Use `ThreeDS2RequestData.workPhone` instead.
8695
*/
8796
'workPhone'?: string;
8897

src/typings/checkout/achDetails.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ export class AchDetails {
3939
'ownerName'?: string;
4040
/**
4141
* This is the `recurringDetailReference` returned in the response when you created the token.
42+
*
43+
* @deprecated since Adyen Checkout API v49
44+
* Use `storedPaymentMethodId` instead.
4245
*/
4346
'recurringDetailReference'?: string;
4447
/**

0 commit comments

Comments
 (0)