Skip to content

Commit c8b5a1a

Browse files
authored
Merge branch 'main' into fix-and-improve-github-workflows
2 parents 7a19ffa + 7fd95fa commit c8b5a1a

Some content is hidden

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

44 files changed

+487
-42
lines changed

src/__tests__/notification.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ describe("Notification Test", function (): void {
213213

214214
it("should deserialize Management v3 Webhooks", function (): void {
215215
const json = {
216-
"type": "paymentMethod.requestRemoved",
216+
"type": "paymentMethodRequest.removed",
217217
"environment": "devl",
218218
"createdAt": "2023-06-12T18:59:17+02:00",
219219
"data": {

src/typings/binLookup/costEstimateRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export class CostEstimateRequest {
3838
*/
3939
'shopperInteraction'?: CostEstimateRequest.ShopperInteractionEnum;
4040
/**
41-
* Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address.
41+
* Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. The value is case-sensitive and must be at least three characters. > Your reference must not include personally identifiable information (PII) such as name or email address.
4242
*/
4343
'shopperReference'?: string;
4444

src/typings/checkout/additionalData3DSecure.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export class AdditionalData3DSecure {
3636
*/
3737
'scaExemption'?: string;
3838
/**
39-
* Indicates your preference for the 3D Secure version. > If you use this parameter, you override the checks from Adyen\'s Authentication Engine. We recommend to use this field only if you have an extensive knowledge of 3D Secure. Possible values: * **1.0.2**: Apply 3D Secure version 1.0.2. * **2.1.0**: Apply 3D Secure version 2.1.0. * **2.2.0**: Apply 3D Secure version 2.2.0. If the issuer does not support version 2.2.0, we will fall back to 2.1.0. The following rules apply: * If you prefer 2.1.0 or 2.2.0 but we receive a negative `transStatus` in the `ARes`, we will apply the fallback policy configured in your account. For example, if the configuration is to fall back to 3D Secure 1, we will apply version 1.0.2. * If you prefer 2.1.0 or 2.2.0 but the BIN is not enrolled, you will receive an error.
39+
* Indicates your preference for the 3D Secure version. > If you use this parameter, you override the checks from Adyen\'s Authentication Engine. We recommend to use this field only if you have an extensive knowledge of 3D Secure. Possible values: * **2.1.0**: Apply 3D Secure version 2.1.0. * **2.2.0**: Apply 3D Secure version 2.2.0. If the issuer does not support version 2.2.0, we will fall back to 2.1.0. The following rules apply: * If you prefer 2.1.0 or 2.2.0 but we receive a negative `transStatus` in the `ARes`, we will apply the fallback policy configured in your account. * If you the BIN is not enrolled, you will receive an error.
4040
*/
4141
'threeDSVersion'?: string;
4242

src/typings/checkout/balanceCheckRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ export class BalanceCheckRequest {
122122
'shopperLocale'?: string;
123123
'shopperName'?: Name | null;
124124
/**
125-
* Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address.
125+
* Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. The value is case-sensitive and must be at least three characters. > Your reference must not include personally identifiable information (PII) such as name or email address.
126126
*/
127127
'shopperReference'?: string;
128128
/**

src/typings/checkout/createCheckoutSessionRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ export class CreateCheckoutSessionRequest {
163163
'shopperLocale'?: string;
164164
'shopperName'?: Name | null;
165165
/**
166-
* Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address.
166+
* Your reference to uniquely identify this shopper, for example user ID or account ID. The value is case-sensitive and must be at least three characters. > Your reference must not include personally identifiable information (PII) such as name or email address.
167167
*/
168168
'shopperReference'?: string;
169169
/**

src/typings/checkout/createCheckoutSessionResponse.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ export class CreateCheckoutSessionResponse {
171171
'shopperLocale'?: string;
172172
'shopperName'?: Name | null;
173173
/**
174-
* Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address.
174+
* Your reference to uniquely identify this shopper, for example user ID or account ID. The value is case-sensitive and must be at least three characters. > Your reference must not include personally identifiable information (PII) such as name or email address.
175175
*/
176176
'shopperReference'?: string;
177177
/**

src/typings/checkout/fundRecipient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export class FundRecipient {
2525
'shopperEmail'?: string;
2626
'shopperName'?: Name | null;
2727
/**
28-
* Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address.
28+
* Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. The value is case-sensitive and must be at least three characters. > Your reference must not include personally identifiable information (PII) such as name or email address.
2929
*/
3030
'shopperReference'?: string;
3131
/**

src/typings/checkout/models.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,8 @@ export * from './paymentReversalResponse';
157157
export * from './paypalUpdateOrderRequest';
158158
export * from './paypalUpdateOrderResponse';
159159
export * from './phone';
160+
export * from './pixDetails';
161+
export * from './pixRecurring';
160162
export * from './platformChargebackLogic';
161163
export * from './pseDetails';
162164
export * from './ratepayDetails';
@@ -361,6 +363,8 @@ import { PaymentReversalResponse } from './paymentReversalResponse';
361363
import { PaypalUpdateOrderRequest } from './paypalUpdateOrderRequest';
362364
import { PaypalUpdateOrderResponse } from './paypalUpdateOrderResponse';
363365
import { Phone } from './phone';
366+
import { PixDetails } from './pixDetails';
367+
import { PixRecurring } from './pixRecurring';
364368
import { PlatformChargebackLogic } from './platformChargebackLogic';
365369
import { PseDetails } from './pseDetails';
366370
import { RatepayDetails } from './ratepayDetails';
@@ -569,6 +573,8 @@ let enumsMap: {[index: string]: any} = {
569573
"PaymentResponse.ResultCodeEnum": PaymentResponse.ResultCodeEnum,
570574
"PaymentReversalResponse.StatusEnum": PaymentReversalResponse.StatusEnum,
571575
"PaypalUpdateOrderResponse.StatusEnum": PaypalUpdateOrderResponse.StatusEnum,
576+
"PixDetails.TypeEnum": PixDetails.TypeEnum,
577+
"PixRecurring.FrequencyEnum": PixRecurring.FrequencyEnum,
572578
"PlatformChargebackLogic.BehaviorEnum": PlatformChargebackLogic.BehaviorEnum,
573579
"PseDetails.TypeEnum": PseDetails.TypeEnum,
574580
"RatepayDetails.TypeEnum": RatepayDetails.TypeEnum,
@@ -577,6 +583,7 @@ let enumsMap: {[index: string]: any} = {
577583
"ResponseAdditionalDataCard.CardProductIdEnum": ResponseAdditionalDataCard.CardProductIdEnum,
578584
"ResponseAdditionalDataCommon.FraudResultTypeEnum": ResponseAdditionalDataCommon.FraudResultTypeEnum,
579585
"ResponseAdditionalDataCommon.RecurringProcessingModelEnum": ResponseAdditionalDataCommon.RecurringProcessingModelEnum,
586+
"ResponseAdditionalDataCommon.TokenizationStoreOperationTypeEnum": ResponseAdditionalDataCommon.TokenizationStoreOperationTypeEnum,
580587
"RivertyDetails.TypeEnum": RivertyDetails.TypeEnum,
581588
"SamsungPayDetails.FundingSourceEnum": SamsungPayDetails.FundingSourceEnum,
582589
"SamsungPayDetails.TypeEnum": SamsungPayDetails.TypeEnum,
@@ -772,6 +779,8 @@ let typeMap: {[index: string]: any} = {
772779
"PaypalUpdateOrderRequest": PaypalUpdateOrderRequest,
773780
"PaypalUpdateOrderResponse": PaypalUpdateOrderResponse,
774781
"Phone": Phone,
782+
"PixDetails": PixDetails,
783+
"PixRecurring": PixRecurring,
775784
"PlatformChargebackLogic": PlatformChargebackLogic,
776785
"PseDetails": PseDetails,
777786
"RatepayDetails": RatepayDetails,

src/typings/checkout/paymentDetails.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ export namespace PaymentDetails {
7171
MolpayEbankingMy = 'molpay_ebanking_MY',
7272
MolpayEbankingDirectMy = 'molpay_ebanking_direct_MY',
7373
Swish = 'swish',
74-
Pix = 'pix',
7574
Bizum = 'bizum',
7675
Walley = 'walley',
7776
WalleyB2b = 'walley_b2b',

src/typings/checkout/paymentLinkRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ export class PaymentLinkRequest {
119119
'shopperLocale'?: string;
120120
'shopperName'?: Name | null;
121121
/**
122-
* Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address.
122+
* Your reference to uniquely identify this shopper, for example user ID or account ID. The value is case-sensitive and must be at least three characters. > Your reference must not include personally identifiable information (PII) such as name or email address.
123123
*/
124124
'shopperReference'?: string;
125125
/**

0 commit comments

Comments
 (0)