Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update all services #1318

Merged
merged 2 commits into from
Feb 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/typings/checkout/balanceCheckRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export class BalanceCheckRequest {
*/
'splits'?: Array<Split>;
/**
* 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).
* 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.
*/
'store'?: string;
/**
Expand Down
2 changes: 1 addition & 1 deletion src/typings/checkout/createCheckoutSessionRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ export class CreateCheckoutSessionRequest {
*/
'splits'?: Array<Split>;
/**
* 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).
* 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.
*/
'store'?: string;
/**
Expand Down
2 changes: 1 addition & 1 deletion src/typings/checkout/createCheckoutSessionResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ export class CreateCheckoutSessionResponse {
*/
'splits'?: Array<Split>;
/**
* 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).
* 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.
*/
'store'?: string;
/**
Expand Down
2 changes: 2 additions & 0 deletions src/typings/checkout/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -546,12 +546,14 @@ let enumsMap: {[index: string]: any} = {
"ThreeDS2RequestData.AcctTypeEnum": ThreeDS2RequestData.AcctTypeEnum,
"ThreeDS2RequestData.AddrMatchEnum": ThreeDS2RequestData.AddrMatchEnum,
"ThreeDS2RequestData.ChallengeIndicatorEnum": ThreeDS2RequestData.ChallengeIndicatorEnum,
"ThreeDS2RequestData.PlatformEnum": ThreeDS2RequestData.PlatformEnum,
"ThreeDS2RequestData.ThreeDSRequestorChallengeIndEnum": ThreeDS2RequestData.ThreeDSRequestorChallengeIndEnum,
"ThreeDS2RequestData.TransTypeEnum": ThreeDS2RequestData.TransTypeEnum,
"ThreeDS2RequestData.TransactionTypeEnum": ThreeDS2RequestData.TransactionTypeEnum,
"ThreeDS2RequestFields.AcctTypeEnum": ThreeDS2RequestFields.AcctTypeEnum,
"ThreeDS2RequestFields.AddrMatchEnum": ThreeDS2RequestFields.AddrMatchEnum,
"ThreeDS2RequestFields.ChallengeIndicatorEnum": ThreeDS2RequestFields.ChallengeIndicatorEnum,
"ThreeDS2RequestFields.PlatformEnum": ThreeDS2RequestFields.PlatformEnum,
"ThreeDS2RequestFields.ThreeDSRequestorChallengeIndEnum": ThreeDS2RequestFields.ThreeDSRequestorChallengeIndEnum,
"ThreeDS2RequestFields.TransTypeEnum": ThreeDS2RequestFields.TransTypeEnum,
"ThreeDS2RequestFields.TransactionTypeEnum": ThreeDS2RequestFields.TransactionTypeEnum,
Expand Down
2 changes: 1 addition & 1 deletion src/typings/checkout/paymentMethodsRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export class PaymentMethodsRequest {
*/
'splitCardFundingSources'?: boolean;
/**
* 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).
* 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.
*/
'store'?: string;

Expand Down
2 changes: 1 addition & 1 deletion src/typings/checkout/paymentRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ export class PaymentRequest {
*/
'splits'?: Array<Split>;
/**
* 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).
* 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.
*/
'store'?: string;
/**
Expand Down
2 changes: 1 addition & 1 deletion src/typings/checkout/paymentSetupRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ export class PaymentSetupRequest {
*/
'splits'?: Array<Split>;
/**
* 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).
* 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.
*/
'store'?: string;
/**
Expand Down
14 changes: 14 additions & 0 deletions src/typings/checkout/threeDS2RequestData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ export class ThreeDS2RequestData {
*/
'paymentAuthenticationUseCase'?: string;
/**
* The platform of the shopper. Allowed values: * `iOS` * `android` * `browser`
*/
'platform'?: ThreeDS2RequestData.PlatformEnum;
/**
* Indicates the maximum number of authorisations permitted for instalment payments. Length: 1–3 characters.
*/
'purchaseInstalData'?: string;
Expand Down Expand Up @@ -236,6 +240,11 @@ export class ThreeDS2RequestData {
"baseName": "paymentAuthenticationUseCase",
"type": "string"
},
{
"name": "platform",
"baseName": "platform",
"type": "ThreeDS2RequestData.PlatformEnum"
},
{
"name": "purchaseInstalData",
"baseName": "purchaseInstalData",
Expand Down Expand Up @@ -368,6 +377,11 @@ export namespace ThreeDS2RequestData {
RequestChallenge = 'requestChallenge',
RequestChallengeAsMandate = 'requestChallengeAsMandate'
}
export enum PlatformEnum {
IOs = 'iOS',
Android = 'android',
Browser = 'browser'
}
export enum ThreeDSRequestorChallengeIndEnum {
_01 = '01',
_02 = '02',
Expand Down
14 changes: 14 additions & 0 deletions src/typings/checkout/threeDS2RequestFields.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ export class ThreeDS2RequestFields {
*/
'paymentAuthenticationUseCase'?: string;
/**
* The platform of the shopper. Allowed values: * `iOS` * `android` * `browser`
*/
'platform'?: ThreeDS2RequestFields.PlatformEnum;
/**
* Indicates the maximum number of authorisations permitted for instalment payments. Length: 1–3 characters.
*/
'purchaseInstalData'?: string;
Expand Down Expand Up @@ -219,6 +223,11 @@ export class ThreeDS2RequestFields {
"baseName": "paymentAuthenticationUseCase",
"type": "string"
},
{
"name": "platform",
"baseName": "platform",
"type": "ThreeDS2RequestFields.PlatformEnum"
},
{
"name": "purchaseInstalData",
"baseName": "purchaseInstalData",
Expand Down Expand Up @@ -341,6 +350,11 @@ export namespace ThreeDS2RequestFields {
RequestChallenge = 'requestChallenge',
RequestChallengeAsMandate = 'requestChallengeAsMandate'
}
export enum PlatformEnum {
IOs = 'iOS',
Android = 'android',
Browser = 'browser'
}
export enum ThreeDSRequestorChallengeIndEnum {
_01 = '01',
_02 = '02',
Expand Down
1 change: 1 addition & 0 deletions src/typings/management/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,7 @@ let enumsMap: {[index: string]: any} = {
"InstallAndroidAppDetails.TypeEnum": InstallAndroidAppDetails.TypeEnum,
"InstallAndroidCertificateDetails.TypeEnum": InstallAndroidCertificateDetails.TypeEnum,
"KlarnaInfo.RegionEnum": KlarnaInfo.RegionEnum,
"Notification.CategoryEnum": Notification.CategoryEnum,
"PayAtTable.AuthenticationMethodEnum": PayAtTable.AuthenticationMethodEnum,
"PayAtTable.PaymentInstrumentEnum": PayAtTable.PaymentInstrumentEnum,
"PaymentMethod.VerificationStatusEnum": PaymentMethod.VerificationStatusEnum,
Expand Down
44 changes: 43 additions & 1 deletion src/typings/management/notification.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,63 @@

export class Notification {
/**
* Shows or hides the event notification button on the terminal screen.
* The type of event notification sent when you select the notification button.
*/
'category'?: Notification.CategoryEnum;
/**
* 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.
*/
'details'?: string;
/**
* 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.
*/
'enabled'?: boolean;
/**
* Shows or hides the event notification button on the screen of terminal models that have a keypad.
*/
'showButton'?: boolean;
/**
* The name of the notification button on the terminal screen.
*/
'title'?: string;

static discriminator: string | undefined = undefined;

static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "category",
"baseName": "category",
"type": "Notification.CategoryEnum"
},
{
"name": "details",
"baseName": "details",
"type": "string"
},
{
"name": "enabled",
"baseName": "enabled",
"type": "boolean"
},
{
"name": "showButton",
"baseName": "showButton",
"type": "boolean"
},
{
"name": "title",
"baseName": "title",
"type": "string"
} ];

static getAttributeTypeMap() {
return Notification.attributeTypeMap;
}
}

export namespace Notification {
export enum CategoryEnum {
SaleWakeUp = 'SaleWakeUp',
KeyPressed = 'KeyPressed'
}
}
2 changes: 1 addition & 1 deletion src/typings/management/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export class Store {
*/
'description'?: string;
/**
* When using the Zip payment method: The location ID that Zip has assigned to your store.
* 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.
*/
'externalReferenceId'?: string;
/**
Expand Down
9 changes: 9 additions & 0 deletions src/typings/management/updatePaymentMethodInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ export class UpdatePaymentMethodInfo {
* The list of currencies that a payment method supports. By default, all currencies supported by the payment method.
*/
'currencies'?: Array<string>;
/**
* Custom routing flags for acquirer routing.
*/
'customRoutingFlags'?: Array<string>;
'diners'?: GenericPmWithTdiInfo;
'discover'?: GenericPmWithTdiInfo;
'eftpos_australia'?: GenericPmWithTdiInfo;
Expand Down Expand Up @@ -70,6 +74,11 @@ export class UpdatePaymentMethodInfo {
"baseName": "currencies",
"type": "Array<string>"
},
{
"name": "customRoutingFlags",
"baseName": "customRoutingFlags",
"type": "Array<string>"
},
{
"name": "diners",
"baseName": "diners",
Expand Down
2 changes: 1 addition & 1 deletion src/typings/management/updateStoreRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export class UpdateStoreRequest {
*/
'description'?: string;
/**
* When using the Zip payment method: The location ID that Zip has assigned to your store.
* 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.
*/
'externalReferenceId'?: string;
/**
Expand Down
Loading