Skip to content

Commit 8f8972a

Browse files
AdyenAutomationBotAdyenAutomationBot
andauthored
Update all services (#1318)
* [reformat][adyen-sdk-automation] automated change * style(fmt): code formatted --------- Co-authored-by: AdyenAutomationBot <Adyen Automation plugins_dev@adyen.com>
1 parent db357b5 commit 8f8972a

14 files changed

+91
-9
lines changed

src/typings/checkout/balanceCheckRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export class BalanceCheckRequest {
138138
*/
139139
'splits'?: Array<Split>;
140140
/**
141-
* The ecommerce or point-of-sale store that is processing the payment. Used in: * [Partner platform integrations](https://docs.adyen.com/marketplaces-and-platforms/classic/platforms-for-partners#route-payments) for the [Classic Platforms integration](https://docs.adyen.com/marketplaces-and-platforms/classic). * [Platform setup integrations](https://docs.adyen.com/marketplaces-and-platforms/additional-for-platform-setup/route-payment-to-store) for the [Balance Platform](https://docs.adyen.com/marketplaces-and-platforms).
141+
* Required for Adyen for Platforms integrations if you have a platform setup. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/marketplaces-and-platforms/classic/platforms-for-partners#route-payments)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/marketplaces-and-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment.
142142
*/
143143
'store'?: string;
144144
/**

src/typings/checkout/createCheckoutSessionRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ export class CreateCheckoutSessionRequest {
190190
*/
191191
'splits'?: Array<Split>;
192192
/**
193-
* The ecommerce or point-of-sale store that is processing the payment. Used in: * [Partner platform integrations](https://docs.adyen.com/marketplaces-and-platforms/classic/platforms-for-partners#route-payments) for the [Classic Platforms integration](https://docs.adyen.com/marketplaces-and-platforms/classic). * [Platform setup integrations](https://docs.adyen.com/marketplaces-and-platforms/additional-for-platform-setup/route-payment-to-store) for the [Balance Platform](https://docs.adyen.com/marketplaces-and-platforms).
193+
* Required for Adyen for Platforms integrations if you have a platform setup. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/marketplaces-and-platforms/classic/platforms-for-partners#route-payments)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/marketplaces-and-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment.
194194
*/
195195
'store'?: string;
196196
/**

src/typings/checkout/createCheckoutSessionResponse.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ export class CreateCheckoutSessionResponse {
198198
*/
199199
'splits'?: Array<Split>;
200200
/**
201-
* The ecommerce or point-of-sale store that is processing the payment. Used in: * [Partner platform integrations](https://docs.adyen.com/marketplaces-and-platforms/classic/platforms-for-partners#route-payments) for the [Classic Platforms integration](https://docs.adyen.com/marketplaces-and-platforms/classic). * [Platform setup integrations](https://docs.adyen.com/marketplaces-and-platforms/additional-for-platform-setup/route-payment-to-store) for the [Balance Platform](https://docs.adyen.com/marketplaces-and-platforms).
201+
* Required for Adyen for Platforms integrations if you have a platform setup. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/marketplaces-and-platforms/classic/platforms-for-partners#route-payments)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/marketplaces-and-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment.
202202
*/
203203
'store'?: string;
204204
/**

src/typings/checkout/models.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -546,12 +546,14 @@ let enumsMap: {[index: string]: any} = {
546546
"ThreeDS2RequestData.AcctTypeEnum": ThreeDS2RequestData.AcctTypeEnum,
547547
"ThreeDS2RequestData.AddrMatchEnum": ThreeDS2RequestData.AddrMatchEnum,
548548
"ThreeDS2RequestData.ChallengeIndicatorEnum": ThreeDS2RequestData.ChallengeIndicatorEnum,
549+
"ThreeDS2RequestData.PlatformEnum": ThreeDS2RequestData.PlatformEnum,
549550
"ThreeDS2RequestData.ThreeDSRequestorChallengeIndEnum": ThreeDS2RequestData.ThreeDSRequestorChallengeIndEnum,
550551
"ThreeDS2RequestData.TransTypeEnum": ThreeDS2RequestData.TransTypeEnum,
551552
"ThreeDS2RequestData.TransactionTypeEnum": ThreeDS2RequestData.TransactionTypeEnum,
552553
"ThreeDS2RequestFields.AcctTypeEnum": ThreeDS2RequestFields.AcctTypeEnum,
553554
"ThreeDS2RequestFields.AddrMatchEnum": ThreeDS2RequestFields.AddrMatchEnum,
554555
"ThreeDS2RequestFields.ChallengeIndicatorEnum": ThreeDS2RequestFields.ChallengeIndicatorEnum,
556+
"ThreeDS2RequestFields.PlatformEnum": ThreeDS2RequestFields.PlatformEnum,
555557
"ThreeDS2RequestFields.ThreeDSRequestorChallengeIndEnum": ThreeDS2RequestFields.ThreeDSRequestorChallengeIndEnum,
556558
"ThreeDS2RequestFields.TransTypeEnum": ThreeDS2RequestFields.TransTypeEnum,
557559
"ThreeDS2RequestFields.TransactionTypeEnum": ThreeDS2RequestFields.TransactionTypeEnum,

src/typings/checkout/paymentMethodsRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export class PaymentMethodsRequest {
5050
*/
5151
'splitCardFundingSources'?: boolean;
5252
/**
53-
* The ecommerce or point-of-sale store that is processing the payment. Used in: * [Partner platform integrations](https://docs.adyen.com/marketplaces-and-platforms/classic/platforms-for-partners#route-payments) for the [Classic Platforms integration](https://docs.adyen.com/marketplaces-and-platforms/classic). * [Platform setup integrations](https://docs.adyen.com/marketplaces-and-platforms/additional-for-platform-setup/route-payment-to-store) for the [Balance Platform](https://docs.adyen.com/marketplaces-and-platforms).
53+
* Required for Adyen for Platforms integrations if you have a platform setup. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/marketplaces-and-platforms/classic/platforms-for-partners#route-payments)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/marketplaces-and-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment.
5454
*/
5555
'store'?: string;
5656

src/typings/checkout/paymentRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ export class PaymentRequest {
255255
*/
256256
'splits'?: Array<Split>;
257257
/**
258-
* The ecommerce or point-of-sale store that is processing the payment. Used in: * [Partner platform integrations](https://docs.adyen.com/marketplaces-and-platforms/classic/platforms-for-partners#route-payments) for the [Classic Platforms integration](https://docs.adyen.com/marketplaces-and-platforms/classic). * [Platform setup integrations](https://docs.adyen.com/marketplaces-and-platforms/additional-for-platform-setup/route-payment-to-store) for the [Balance Platform](https://docs.adyen.com/marketplaces-and-platforms).
258+
* Required for Adyen for Platforms integrations if you have a platform setup. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/marketplaces-and-platforms/classic/platforms-for-partners#route-payments)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/marketplaces-and-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment.
259259
*/
260260
'store'?: string;
261261
/**

src/typings/checkout/paymentSetupRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ export class PaymentSetupRequest {
184184
*/
185185
'splits'?: Array<Split>;
186186
/**
187-
* The ecommerce or point-of-sale store that is processing the payment. Used in: * [Partner platform integrations](https://docs.adyen.com/marketplaces-and-platforms/classic/platforms-for-partners#route-payments) for the [Classic Platforms integration](https://docs.adyen.com/marketplaces-and-platforms/classic). * [Platform setup integrations](https://docs.adyen.com/marketplaces-and-platforms/additional-for-platform-setup/route-payment-to-store) for the [Balance Platform](https://docs.adyen.com/marketplaces-and-platforms).
187+
* Required for Adyen for Platforms integrations if you have a platform setup. This is your [reference](https://docs.adyen.com/api-explorer/Management/3/post/merchants/(merchantId)/stores#request-reference) (on [balance platform](https://docs.adyen.com/marketplaces-and-platforms/classic/platforms-for-partners#route-payments)) or the [storeReference](https://docs.adyen.com/api-explorer/Account/latest/post/updateAccountHolder#request-accountHolderDetails-storeDetails-storeReference) (in the [classic integration](https://docs.adyen.com/marketplaces-and-platforms/processing-payments/route-payment-to-store/#route-a-payment-to-a-store)) for the ecommerce or point-of-sale store that is processing the payment.
188188
*/
189189
'store'?: string;
190190
/**

src/typings/checkout/threeDS2RequestData.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@ export class ThreeDS2RequestData {
7272
*/
7373
'paymentAuthenticationUseCase'?: string;
7474
/**
75+
* The platform of the shopper. Allowed values: * `iOS` * `android` * `browser`
76+
*/
77+
'platform'?: ThreeDS2RequestData.PlatformEnum;
78+
/**
7579
* Indicates the maximum number of authorisations permitted for instalment payments. Length: 1–3 characters.
7680
*/
7781
'purchaseInstalData'?: string;
@@ -236,6 +240,11 @@ export class ThreeDS2RequestData {
236240
"baseName": "paymentAuthenticationUseCase",
237241
"type": "string"
238242
},
243+
{
244+
"name": "platform",
245+
"baseName": "platform",
246+
"type": "ThreeDS2RequestData.PlatformEnum"
247+
},
239248
{
240249
"name": "purchaseInstalData",
241250
"baseName": "purchaseInstalData",
@@ -368,6 +377,11 @@ export namespace ThreeDS2RequestData {
368377
RequestChallenge = 'requestChallenge',
369378
RequestChallengeAsMandate = 'requestChallengeAsMandate'
370379
}
380+
export enum PlatformEnum {
381+
IOs = 'iOS',
382+
Android = 'android',
383+
Browser = 'browser'
384+
}
371385
export enum ThreeDSRequestorChallengeIndEnum {
372386
_01 = '01',
373387
_02 = '02',

src/typings/checkout/threeDS2RequestFields.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,10 @@ export class ThreeDS2RequestFields {
6868
*/
6969
'paymentAuthenticationUseCase'?: string;
7070
/**
71+
* The platform of the shopper. Allowed values: * `iOS` * `android` * `browser`
72+
*/
73+
'platform'?: ThreeDS2RequestFields.PlatformEnum;
74+
/**
7175
* Indicates the maximum number of authorisations permitted for instalment payments. Length: 1–3 characters.
7276
*/
7377
'purchaseInstalData'?: string;
@@ -219,6 +223,11 @@ export class ThreeDS2RequestFields {
219223
"baseName": "paymentAuthenticationUseCase",
220224
"type": "string"
221225
},
226+
{
227+
"name": "platform",
228+
"baseName": "platform",
229+
"type": "ThreeDS2RequestFields.PlatformEnum"
230+
},
222231
{
223232
"name": "purchaseInstalData",
224233
"baseName": "purchaseInstalData",
@@ -341,6 +350,11 @@ export namespace ThreeDS2RequestFields {
341350
RequestChallenge = 'requestChallenge',
342351
RequestChallengeAsMandate = 'requestChallengeAsMandate'
343352
}
353+
export enum PlatformEnum {
354+
IOs = 'iOS',
355+
Android = 'android',
356+
Browser = 'browser'
357+
}
344358
export enum ThreeDSRequestorChallengeIndEnum {
345359
_01 = '01',
346360
_02 = '02',

src/typings/management/models.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,7 @@ let enumsMap: {[index: string]: any} = {
385385
"InstallAndroidAppDetails.TypeEnum": InstallAndroidAppDetails.TypeEnum,
386386
"InstallAndroidCertificateDetails.TypeEnum": InstallAndroidCertificateDetails.TypeEnum,
387387
"KlarnaInfo.RegionEnum": KlarnaInfo.RegionEnum,
388+
"Notification.CategoryEnum": Notification.CategoryEnum,
388389
"PayAtTable.AuthenticationMethodEnum": PayAtTable.AuthenticationMethodEnum,
389390
"PayAtTable.PaymentInstrumentEnum": PayAtTable.PaymentInstrumentEnum,
390391
"PaymentMethod.VerificationStatusEnum": PaymentMethod.VerificationStatusEnum,

src/typings/management/notification.ts

Lines changed: 43 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,63 @@
1010

1111
export class Notification {
1212
/**
13-
* Shows or hides the event notification button on the terminal screen.
13+
* The type of event notification sent when you select the notification button.
14+
*/
15+
'category'?: Notification.CategoryEnum;
16+
/**
17+
* The text shown in the prompt which opens when you select the notification button. For example, the description of the input box for pay-at-table.
18+
*/
19+
'details'?: string;
20+
/**
21+
* Enables sending event notifications either by pressing the Confirm key on terminals with a keypad or by tapping the event notification button on the terminal screen.
22+
*/
23+
'enabled'?: boolean;
24+
/**
25+
* Shows or hides the event notification button on the screen of terminal models that have a keypad.
1426
*/
1527
'showButton'?: boolean;
28+
/**
29+
* The name of the notification button on the terminal screen.
30+
*/
31+
'title'?: string;
1632

1733
static discriminator: string | undefined = undefined;
1834

1935
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
36+
{
37+
"name": "category",
38+
"baseName": "category",
39+
"type": "Notification.CategoryEnum"
40+
},
41+
{
42+
"name": "details",
43+
"baseName": "details",
44+
"type": "string"
45+
},
46+
{
47+
"name": "enabled",
48+
"baseName": "enabled",
49+
"type": "boolean"
50+
},
2051
{
2152
"name": "showButton",
2253
"baseName": "showButton",
2354
"type": "boolean"
55+
},
56+
{
57+
"name": "title",
58+
"baseName": "title",
59+
"type": "string"
2460
} ];
2561

2662
static getAttributeTypeMap() {
2763
return Notification.attributeTypeMap;
2864
}
2965
}
3066

67+
export namespace Notification {
68+
export enum CategoryEnum {
69+
SaleWakeUp = 'SaleWakeUp',
70+
KeyPressed = 'KeyPressed'
71+
}
72+
}

src/typings/management/store.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export class Store {
2323
*/
2424
'description'?: string;
2525
/**
26-
* When using the Zip payment method: The location ID that Zip has assigned to your store.
26+
* The unique identifier of the store, used by certain payment methods and tax authorities. Accepts up to 14 digits. Required for CNPJ in Brazil, in the format 00.000.000/00git00-00 separated by dots, slashes, hyphens, or without separators. Optional for Zip in Australia and SIRET in France, required except for nonprofit organizations and incorporated associations.
2727
*/
2828
'externalReferenceId'?: string;
2929
/**

src/typings/management/updatePaymentMethodInfo.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ export class UpdatePaymentMethodInfo {
2323
* The list of currencies that a payment method supports. By default, all currencies supported by the payment method.
2424
*/
2525
'currencies'?: Array<string>;
26+
/**
27+
* Custom routing flags for acquirer routing.
28+
*/
29+
'customRoutingFlags'?: Array<string>;
2630
'diners'?: GenericPmWithTdiInfo;
2731
'discover'?: GenericPmWithTdiInfo;
2832
'eftpos_australia'?: GenericPmWithTdiInfo;
@@ -70,6 +74,11 @@ export class UpdatePaymentMethodInfo {
7074
"baseName": "currencies",
7175
"type": "Array<string>"
7276
},
77+
{
78+
"name": "customRoutingFlags",
79+
"baseName": "customRoutingFlags",
80+
"type": "Array<string>"
81+
},
7382
{
7483
"name": "diners",
7584
"baseName": "diners",

src/typings/management/updateStoreRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export class UpdateStoreRequest {
2121
*/
2222
'description'?: string;
2323
/**
24-
* When using the Zip payment method: The location ID that Zip has assigned to your store.
24+
* The unique identifier of the store, used by certain payment methods and tax authorities. Accepts up to 14 digits. Required for CNPJ in Brazil, in the format 00.000.000/00git00-00 separated by dots, slashes, hyphens, or without separators. Optional for Zip in Australia and SIRET in France, required except for nonprofit organizations and incorporated associations.
2525
*/
2626
'externalReferenceId'?: string;
2727
/**

0 commit comments

Comments
 (0)