diff --git a/src/typings/management/affirmInfo.ts b/src/typings/management/affirmInfo.ts index b64e42c38..4110f9841 100644 --- a/src/typings/management/affirmInfo.ts +++ b/src/typings/management/affirmInfo.ts @@ -9,6 +9,10 @@ export class AffirmInfo { + /** + * Merchant price plan + */ + "pricePlan"?: AffirmInfo.PricePlanEnum; /** * Merchant support email */ @@ -19,6 +23,12 @@ export class AffirmInfo { static readonly mapping: {[index: string]: string} | undefined = undefined; static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "pricePlan", + "baseName": "pricePlan", + "type": "AffirmInfo.PricePlanEnum", + "format": "" + }, { "name": "supportEmail", "baseName": "supportEmail", @@ -34,3 +44,10 @@ export class AffirmInfo { } } +export namespace AffirmInfo { + export enum PricePlanEnum { + Bronze = 'BRONZE', + Silver = 'SILVER', + Gold = 'GOLD' + } +} diff --git a/src/typings/management/amount.ts b/src/typings/management/amount.ts index 064c4170a..a537b1962 100644 --- a/src/typings/management/amount.ts +++ b/src/typings/management/amount.ts @@ -10,11 +10,11 @@ export class Amount { /** - * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes#currency-codes). + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes#currency-codes) of the amount. */ "currency": string; /** - * The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes#minor-units). + * The numeric value of the amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes#minor-units). */ "value": number; diff --git a/src/typings/management/cardholderReceipt.ts b/src/typings/management/cardholderReceipt.ts index 12b669ab7..baecfc4b0 100644 --- a/src/typings/management/cardholderReceipt.ts +++ b/src/typings/management/cardholderReceipt.ts @@ -10,7 +10,7 @@ export class CardholderReceipt { /** - * A custom header to show on the shopper receipt for an authorised transaction. Allows one or two comma-separated header lines, and blank lines. For example, `header,header,filler` + * The structure of the header to show on the shopper receipt. You can define the order of one or two header lines and blank lines. For example, **header1,header2,filler**. The text of the header lines is defined in the Customer Area under **In-person payments** > **Terminal settings** > **Receipts** in the **Receipt lines** block. */ "headerForAuthorizedReceipt"?: string; diff --git a/src/typings/management/forceRebootDetails.ts b/src/typings/management/forceRebootDetails.ts new file mode 100644 index 000000000..0e31faa24 --- /dev/null +++ b/src/typings/management/forceRebootDetails.ts @@ -0,0 +1,41 @@ +/* + * The version of the OpenAPI document: v3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit this class manually. + */ + + +export class ForceRebootDetails { + /** + * Type of terminal action: Force Reboot. + */ + "type"?: ForceRebootDetails.TypeEnum; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "type", + "baseName": "type", + "type": "ForceRebootDetails.TypeEnum", + "format": "" + } ]; + + static getAttributeTypeMap() { + return ForceRebootDetails.attributeTypeMap; + } + + public constructor() { + } +} + +export namespace ForceRebootDetails { + export enum TypeEnum { + ForceReboot = 'ForceReboot' + } +} diff --git a/src/typings/management/givexInfo.ts b/src/typings/management/givexInfo.ts new file mode 100644 index 000000000..9f1f9c154 --- /dev/null +++ b/src/typings/management/givexInfo.ts @@ -0,0 +1,72 @@ +/* + * The version of the OpenAPI document: v3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit this class manually. + */ + + +export class GivexInfo { + /** + * The three-character ISO currency code, such as **EUR**. + */ + "currencyCode": string; + /** + * The password provided by the acquirer. + */ + "password": string; + /** + * The sales channel used for the payment. + */ + "paymentFlow": GivexInfo.PaymentFlowEnum; + /** + * The username provided by the acquirer. + */ + "username": string; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "currencyCode", + "baseName": "currencyCode", + "type": "string", + "format": "" + }, + { + "name": "password", + "baseName": "password", + "type": "string", + "format": "" + }, + { + "name": "paymentFlow", + "baseName": "paymentFlow", + "type": "GivexInfo.PaymentFlowEnum", + "format": "" + }, + { + "name": "username", + "baseName": "username", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return GivexInfo.attributeTypeMap; + } + + public constructor() { + } +} + +export namespace GivexInfo { + export enum PaymentFlowEnum { + Ecommerce = 'Ecommerce', + Pos = 'POS' + } +} diff --git a/src/typings/management/key.ts b/src/typings/management/key.ts index f5173f57f..17a7c82d6 100644 --- a/src/typings/management/key.ts +++ b/src/typings/management/key.ts @@ -14,7 +14,7 @@ export class Key { */ "identifier"?: string; /** - * The secure passphrase to protect the shared key. Must consist of: * At least 12 characters. * At least 1 uppercase letter: `[A-Z]`. * At least 1 lowercase letter: `[a-z]`. * At least 1 digit: `[0-9]`. * At least 1 special character. Limited to the following: `~`, `@`, `$`, `%`, `^`, `&`, `*`, `(`, `)`, `_`, `+`, `=`, `}`, `{`, `]`, `[`, `;`, `:`, `?`, `.`, `,`, `>`, `<`. + * The secure passphrase to protect the shared key. Must consist of: * At least 12 characters. * At least 1 uppercase letter: `[A-Z]`. * At least 1 lowercase letter: `[a-z]`. * At least 1 digit: `[0-9]`. * At least 1 special character. Limited to the following: `~`, `!`, `@`, `#`, `$`, `%`, `^`, `&`, `*`, `(`, `)`, `_`, `+`, `=`, `}`, `{`, `]`, `[`, `;`, `:`, `?`, `.`, `,`, `>`, `<`. */ "passphrase"?: string; /** diff --git a/src/typings/management/models.ts b/src/typings/management/models.ts index 4b9b73c0f..6414b91a4 100644 --- a/src/typings/management/models.ts +++ b/src/typings/management/models.ts @@ -51,10 +51,12 @@ export * from "./dataCenter" export * from "./dinersInfo" export * from "./eventUrl" export * from "./externalTerminalAction" +export * from "./forceRebootDetails" export * from "./generateApiKeyResponse" export * from "./generateClientKeyResponse" export * from "./generateHmacKeyResponse" export * from "./genericPmWithTdiInfo" +export * from "./givexInfo" export * from "./googlePayInfo" export * from "./gratuity" export * from "./hardware" @@ -85,6 +87,7 @@ export * from "./merchant" export * from "./merchantLinks" export * from "./minorUnitsMonetaryValue" export * from "./modelFile" +export * from "./moto" export * from "./name" export * from "./name2" export * from "./nexo" @@ -143,6 +146,7 @@ export * from "./storeSplitConfiguration" export * from "./subMerchantData" export * from "./supportedCardTypes" export * from "./surcharge" +export * from "./svsInfo" export * from "./swishInfo" export * from "./tapToPay" export * from "./terminal" @@ -192,6 +196,7 @@ export * from "./uploadAndroidAppResponse" export * from "./uploadAndroidCertificateResponse" export * from "./url" export * from "./user" +export * from "./valuelinkInfo" export * from "./vippsInfo" export * from "./weChatPayInfo" export * from "./weChatPayPosInfo" diff --git a/src/typings/management/moto.ts b/src/typings/management/moto.ts new file mode 100644 index 000000000..bcdceab81 --- /dev/null +++ b/src/typings/management/moto.ts @@ -0,0 +1,46 @@ +/* + * The version of the OpenAPI document: v3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit this class manually. + */ + + +export class Moto { + /** + * Enable MOTO transactions. + */ + "enableMoto"?: boolean; + /** + * The maximum amount for MOTO transactions. You need to set the currency for this amount using the [`standalone.currencyCode`](https://docs.adyen.com/api-explorer/Management/1/patch/companies/(companyId)/terminalSettings#request-standalone-currencyCode) parameter. Do not enable standalone, unless you are using a standalone solution. + */ + "maxAmount"?: number; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "enableMoto", + "baseName": "enableMoto", + "type": "boolean", + "format": "" + }, + { + "name": "maxAmount", + "baseName": "maxAmount", + "type": "number", + "format": "int32" + } ]; + + static getAttributeTypeMap() { + return Moto.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/src/typings/management/objectSerializer.ts b/src/typings/management/objectSerializer.ts index 5d950b570..373f865ce 100644 --- a/src/typings/management/objectSerializer.ts +++ b/src/typings/management/objectSerializer.ts @@ -53,10 +53,12 @@ import { DataCenter } from "./dataCenter"; import { DinersInfo } from "./dinersInfo"; import { EventUrl } from "./eventUrl"; import { ExternalTerminalAction } from "./externalTerminalAction"; +import { ForceRebootDetails } from "./forceRebootDetails"; import { GenerateApiKeyResponse } from "./generateApiKeyResponse"; import { GenerateClientKeyResponse } from "./generateClientKeyResponse"; import { GenerateHmacKeyResponse } from "./generateHmacKeyResponse"; import { GenericPmWithTdiInfo } from "./genericPmWithTdiInfo"; +import { GivexInfo } from "./givexInfo"; import { GooglePayInfo } from "./googlePayInfo"; import { Gratuity } from "./gratuity"; import { Hardware } from "./hardware"; @@ -87,6 +89,7 @@ import { Merchant } from "./merchant"; import { MerchantLinks } from "./merchantLinks"; import { MinorUnitsMonetaryValue } from "./minorUnitsMonetaryValue"; import { ModelFile } from "./modelFile"; +import { Moto } from "./moto"; import { Name } from "./name"; import { Name2 } from "./name2"; import { Nexo } from "./nexo"; @@ -145,6 +148,7 @@ import { StoreSplitConfiguration } from "./storeSplitConfiguration"; import { SubMerchantData } from "./subMerchantData"; import { SupportedCardTypes } from "./supportedCardTypes"; import { Surcharge } from "./surcharge"; +import { SvsInfo } from "./svsInfo"; import { SwishInfo } from "./swishInfo"; import { TapToPay } from "./tapToPay"; import { Terminal } from "./terminal"; @@ -194,6 +198,7 @@ import { UploadAndroidAppResponse } from "./uploadAndroidAppResponse"; import { UploadAndroidCertificateResponse } from "./uploadAndroidCertificateResponse"; import { Url } from "./url"; import { User } from "./user"; +import { ValuelinkInfo } from "./valuelinkInfo"; import { VippsInfo } from "./vippsInfo"; import { WeChatPayInfo } from "./weChatPayInfo"; import { WeChatPayPosInfo } from "./weChatPayPosInfo"; @@ -215,6 +220,7 @@ let primitives = [ let enumsMap: Set = new Set([ "AccelInfo.ProcessingTypeEnum", + "AffirmInfo.PricePlanEnum", "AmexInfo.ServiceLevelEnum", "AndroidApp.StatusEnum", "Connectivity.SimcardStatusEnum", @@ -226,6 +232,8 @@ let enumsMap: Set = new Set([ "CreateMerchantWebhookRequest.EncryptionProtocolEnum", "CreateMerchantWebhookRequest.NetworkTypeEnum", "DinersInfo.ServiceLevelEnum", + "ForceRebootDetails.TypeEnum", + "GivexInfo.PaymentFlowEnum", "InstallAndroidAppDetails.TypeEnum", "InstallAndroidCertificateDetails.TypeEnum", "JCBInfo.ServiceLevelEnum", @@ -289,6 +297,7 @@ let enumsMap: Set = new Set([ "UpdateSplitConfigurationLogicRequest.SurchargeEnum", "UpdateSplitConfigurationLogicRequest.TipEnum", "UpdateStoreRequest.StatusEnum", + "ValuelinkInfo.PinSupportEnum", "Webhook.CommunicationFormatEnum", "Webhook.EncryptionProtocolEnum", "Webhook.FilterMerchantAccountTypeEnum", @@ -349,10 +358,12 @@ let typeMap: {[index: string]: any} = { "DinersInfo": DinersInfo, "EventUrl": EventUrl, "ExternalTerminalAction": ExternalTerminalAction, + "ForceRebootDetails": ForceRebootDetails, "GenerateApiKeyResponse": GenerateApiKeyResponse, "GenerateClientKeyResponse": GenerateClientKeyResponse, "GenerateHmacKeyResponse": GenerateHmacKeyResponse, "GenericPmWithTdiInfo": GenericPmWithTdiInfo, + "GivexInfo": GivexInfo, "GooglePayInfo": GooglePayInfo, "Gratuity": Gratuity, "Hardware": Hardware, @@ -383,6 +394,7 @@ let typeMap: {[index: string]: any} = { "MerchantLinks": MerchantLinks, "MinorUnitsMonetaryValue": MinorUnitsMonetaryValue, "ModelFile": ModelFile, + "Moto": Moto, "Name": Name, "Name2": Name2, "Nexo": Nexo, @@ -441,6 +453,7 @@ let typeMap: {[index: string]: any} = { "SubMerchantData": SubMerchantData, "SupportedCardTypes": SupportedCardTypes, "Surcharge": Surcharge, + "SvsInfo": SvsInfo, "SwishInfo": SwishInfo, "TapToPay": TapToPay, "Terminal": Terminal, @@ -490,6 +503,7 @@ let typeMap: {[index: string]: any} = { "UploadAndroidCertificateResponse": UploadAndroidCertificateResponse, "Url": Url, "User": User, + "ValuelinkInfo": ValuelinkInfo, "VippsInfo": VippsInfo, "WeChatPayInfo": WeChatPayInfo, "WeChatPayPosInfo": WeChatPayPosInfo, diff --git a/src/typings/management/payment.ts b/src/typings/management/payment.ts index 264914c76..9d4c476a4 100644 --- a/src/typings/management/payment.ts +++ b/src/typings/management/payment.ts @@ -10,7 +10,7 @@ export class Payment { /** - * The default currency for contactless payments on the payment terminal, as the three-letter [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code. + * The default currency for contactless payments on the payment terminal, in three-letter [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code format. Contact Adyen before you update this setting for the first time. To enable you to change the contactless currency, we first need to check if you meet the compliance requirements. */ "contactlessCurrency"?: string; /** diff --git a/src/typings/management/paymentMethod.ts b/src/typings/management/paymentMethod.ts index cc55f3237..0dc85b3a5 100644 --- a/src/typings/management/paymentMethod.ts +++ b/src/typings/management/paymentMethod.ts @@ -18,6 +18,7 @@ import { CartesBancairesInfo } from "./cartesBancairesInfo"; import { ClearpayInfo } from "./clearpayInfo"; import { DinersInfo } from "./dinersInfo"; import { GenericPmWithTdiInfo } from "./genericPmWithTdiInfo"; +import { GivexInfo } from "./givexInfo"; import { GooglePayInfo } from "./googlePayInfo"; import { JCBInfo } from "./jCBInfo"; import { KlarnaInfo } from "./klarnaInfo"; @@ -32,9 +33,11 @@ import { SepaDirectDebitInfo } from "./sepaDirectDebitInfo"; import { SodexoInfo } from "./sodexoInfo"; import { SofortInfo } from "./sofortInfo"; import { StarInfo } from "./starInfo"; +import { SvsInfo } from "./svsInfo"; import { SwishInfo } from "./swishInfo"; import { TicketInfo } from "./ticketInfo"; import { TwintInfo } from "./twintInfo"; +import { ValuelinkInfo } from "./valuelinkInfo"; import { VippsInfo } from "./vippsInfo"; import { WeChatPayInfo } from "./weChatPayInfo"; import { WeChatPayPosInfo } from "./weChatPayPosInfo"; @@ -80,6 +83,7 @@ export class PaymentMethod { */ "enabled"?: boolean; "girocard"?: GenericPmWithTdiInfo | null; + "givex"?: GivexInfo | null; "googlePay"?: GooglePayInfo | null; /** * The identifier of the resource. @@ -115,6 +119,7 @@ export class PaymentMethod { * The unique identifier of the store for which to configure the payment method, if any. */ "storeIds"?: Array; + "svs"?: SvsInfo | null; "swish"?: SwishInfo | null; "ticket"?: TicketInfo | null; "twint"?: TwintInfo | null; @@ -122,6 +127,7 @@ export class PaymentMethod { * Payment method [variant](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api). */ "type"?: string; + "valuelink"?: ValuelinkInfo | null; /** * Payment method status. Possible values: * **valid** * **pending** * **invalid** * **rejected** */ @@ -262,6 +268,12 @@ export class PaymentMethod { "type": "GenericPmWithTdiInfo | null", "format": "" }, + { + "name": "givex", + "baseName": "givex", + "type": "GivexInfo | null", + "format": "" + }, { "name": "googlePay", "baseName": "googlePay", @@ -400,6 +412,12 @@ export class PaymentMethod { "type": "Array", "format": "" }, + { + "name": "svs", + "baseName": "svs", + "type": "SvsInfo | null", + "format": "" + }, { "name": "swish", "baseName": "swish", @@ -424,6 +442,12 @@ export class PaymentMethod { "type": "string", "format": "" }, + { + "name": "valuelink", + "baseName": "valuelink", + "type": "ValuelinkInfo | null", + "format": "" + }, { "name": "verificationStatus", "baseName": "verificationStatus", diff --git a/src/typings/management/paymentMethodResponse.ts b/src/typings/management/paymentMethodResponse.ts index 74b38ec7a..e83e2a3e4 100644 --- a/src/typings/management/paymentMethodResponse.ts +++ b/src/typings/management/paymentMethodResponse.ts @@ -100,6 +100,7 @@ export namespace PaymentMethodResponse { BaneseCardPrepaid = 'banese_card_prepaid', Bcmc = 'bcmc', Blik = 'blik', + BlikPos = 'blik_pos', BrSchemes = 'br_schemes', Cartebancaire = 'cartebancaire', Clearpay = 'clearpay', @@ -126,6 +127,7 @@ export namespace PaymentMethodResponse { Elocredit = 'elocredit', Elodebit = 'elodebit', Girocard = 'girocard', + Givex = 'givex', Googlepay = 'googlepay', GreenCard = 'green_card', GreenCardCredit = 'green_card_credit', @@ -140,6 +142,7 @@ export namespace PaymentMethodResponse { Jcb = 'jcb', Klarna = 'klarna', KlarnaAccount = 'klarna_account', + KlarnaB2b = 'klarna_b2b', KlarnaPaynow = 'klarna_paynow', LeCard = 'le_card', LeCardCredit = 'le_card_credit', @@ -181,6 +184,7 @@ export namespace PaymentMethodResponse { Sepadirectdebit = 'sepadirectdebit', Sodexo = 'sodexo', Star = 'star', + Svs = 'svs', Swish = 'swish', Ticket = 'ticket', TodoGiftcard = 'todo_giftcard', @@ -193,6 +197,7 @@ export namespace PaymentMethodResponse { UpBrazilPrepaid = 'up_brazil_prepaid', ValeRefeicao = 'vale_refeicao', ValeRefeicaoPrepaid = 'vale_refeicao_prepaid', + Valuelink = 'valuelink', VegasCard = 'vegas_card', VegasCardCredit = 'vegas_card_credit', VegasCardDebit = 'vegas_card_debit', diff --git a/src/typings/management/paymentMethodSetupInfo.ts b/src/typings/management/paymentMethodSetupInfo.ts index 41dd16c07..c574c2516 100644 --- a/src/typings/management/paymentMethodSetupInfo.ts +++ b/src/typings/management/paymentMethodSetupInfo.ts @@ -18,6 +18,7 @@ import { CartesBancairesInfo } from "./cartesBancairesInfo"; import { ClearpayInfo } from "./clearpayInfo"; import { DinersInfo } from "./dinersInfo"; import { GenericPmWithTdiInfo } from "./genericPmWithTdiInfo"; +import { GivexInfo } from "./givexInfo"; import { GooglePayInfo } from "./googlePayInfo"; import { JCBInfo } from "./jCBInfo"; import { KlarnaInfo } from "./klarnaInfo"; @@ -32,9 +33,11 @@ import { SepaDirectDebitInfo } from "./sepaDirectDebitInfo"; import { SodexoInfo } from "./sodexoInfo"; import { SofortInfo } from "./sofortInfo"; import { StarInfo } from "./starInfo"; +import { SvsInfo } from "./svsInfo"; import { SwishInfo } from "./swishInfo"; import { TicketInfo } from "./ticketInfo"; import { TwintInfo } from "./twintInfo"; +import { ValuelinkInfo } from "./valuelinkInfo"; import { VippsInfo } from "./vippsInfo"; import { WeChatPayInfo } from "./weChatPayInfo"; import { WeChatPayPosInfo } from "./weChatPayPosInfo"; @@ -72,6 +75,7 @@ export class PaymentMethodSetupInfo { "eft_directdebit_CA"?: GenericPmWithTdiInfo | null; "eftpos_australia"?: GenericPmWithTdiInfo | null; "girocard"?: GenericPmWithTdiInfo | null; + "givex"?: GivexInfo | null; "googlePay"?: GooglePayInfo | null; "ideal"?: GenericPmWithTdiInfo | null; "interac_card"?: GenericPmWithTdiInfo | null; @@ -103,6 +107,7 @@ export class PaymentMethodSetupInfo { * The unique identifier of the store for which to configure the payment method, if any. */ "storeIds"?: Array; + "svs"?: SvsInfo | null; "swish"?: SwishInfo | null; "ticket"?: TicketInfo | null; "twint"?: TwintInfo | null; @@ -110,6 +115,7 @@ export class PaymentMethodSetupInfo { * Payment method [variant](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api). */ "type": PaymentMethodSetupInfo.TypeEnum; + "valuelink"?: ValuelinkInfo | null; "vipps"?: VippsInfo | null; "visa"?: GenericPmWithTdiInfo | null; "wechatpay"?: WeChatPayInfo | null; @@ -234,6 +240,12 @@ export class PaymentMethodSetupInfo { "type": "GenericPmWithTdiInfo | null", "format": "" }, + { + "name": "givex", + "baseName": "givex", + "type": "GivexInfo | null", + "format": "" + }, { "name": "googlePay", "baseName": "googlePay", @@ -366,6 +378,12 @@ export class PaymentMethodSetupInfo { "type": "Array", "format": "" }, + { + "name": "svs", + "baseName": "svs", + "type": "SvsInfo | null", + "format": "" + }, { "name": "swish", "baseName": "swish", @@ -390,6 +408,12 @@ export class PaymentMethodSetupInfo { "type": "PaymentMethodSetupInfo.TypeEnum", "format": "" }, + { + "name": "valuelink", + "baseName": "valuelink", + "type": "ValuelinkInfo | null", + "format": "" + }, { "name": "vipps", "baseName": "vipps", @@ -455,6 +479,7 @@ export namespace PaymentMethodSetupInfo { BaneseCardPrepaid = 'banese_card_prepaid', Bcmc = 'bcmc', Blik = 'blik', + BlikPos = 'blik_pos', BrSchemes = 'br_schemes', Cartebancaire = 'cartebancaire', Clearpay = 'clearpay', @@ -481,6 +506,7 @@ export namespace PaymentMethodSetupInfo { Elocredit = 'elocredit', Elodebit = 'elodebit', Girocard = 'girocard', + Givex = 'givex', Googlepay = 'googlepay', GreenCard = 'green_card', GreenCardCredit = 'green_card_credit', @@ -495,6 +521,7 @@ export namespace PaymentMethodSetupInfo { Jcb = 'jcb', Klarna = 'klarna', KlarnaAccount = 'klarna_account', + KlarnaB2b = 'klarna_b2b', KlarnaPaynow = 'klarna_paynow', LeCard = 'le_card', LeCardCredit = 'le_card_credit', @@ -536,6 +563,7 @@ export namespace PaymentMethodSetupInfo { Sepadirectdebit = 'sepadirectdebit', Sodexo = 'sodexo', Star = 'star', + Svs = 'svs', Swish = 'swish', Ticket = 'ticket', TodoGiftcard = 'todo_giftcard', @@ -548,6 +576,7 @@ export namespace PaymentMethodSetupInfo { UpBrazilPrepaid = 'up_brazil_prepaid', ValeRefeicao = 'vale_refeicao', ValeRefeicaoPrepaid = 'vale_refeicao_prepaid', + Valuelink = 'valuelink', VegasCard = 'vegas_card', VegasCardCredit = 'vegas_card_credit', VegasCardDebit = 'vegas_card_debit', diff --git a/src/typings/management/scheduleTerminalActionsRequestActionDetails.ts b/src/typings/management/scheduleTerminalActionsRequestActionDetails.ts index 8346a15cf..1f62d5426 100644 --- a/src/typings/management/scheduleTerminalActionsRequestActionDetails.ts +++ b/src/typings/management/scheduleTerminalActionsRequestActionDetails.ts @@ -7,6 +7,7 @@ * Do not edit this class manually. */ +import { ForceRebootDetails } from "./forceRebootDetails"; import { InstallAndroidAppDetails } from "./installAndroidAppDetails"; import { InstallAndroidCertificateDetails } from "./installAndroidCertificateDetails"; import { ReleaseUpdateDetails } from "./releaseUpdateDetails"; @@ -23,7 +24,7 @@ import { UninstallAndroidCertificateDetails } from "./uninstallAndroidCertificat * Type * @export */ -export type ScheduleTerminalActionsRequestActionDetails = InstallAndroidAppDetails | InstallAndroidCertificateDetails | ReleaseUpdateDetails | UninstallAndroidAppDetails | UninstallAndroidCertificateDetails; +export type ScheduleTerminalActionsRequestActionDetails = ForceRebootDetails | InstallAndroidAppDetails | InstallAndroidCertificateDetails | ReleaseUpdateDetails | UninstallAndroidAppDetails | UninstallAndroidCertificateDetails; /** * @type ScheduleTerminalActionsRequestActionDetailsClass diff --git a/src/typings/management/splitConfigurationRule.ts b/src/typings/management/splitConfigurationRule.ts index 3a9b51df0..29f04953c 100644 --- a/src/typings/management/splitConfigurationRule.ts +++ b/src/typings/management/splitConfigurationRule.ts @@ -32,7 +32,7 @@ export class SplitConfigurationRule { */ "ruleId"?: string; /** - * The sales channel condition that defines whether the split logic applies. Possible values: * **Ecommerce**: online transactions where the cardholder is present. * **ContAuth**: card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). * **Moto**: mail-order and telephone-order transactions where the customer is in contact with the merchant via email or telephone. * **POS**: point-of-sale transactions where the customer is physically present to make a payment using a secure payment terminal. * **ANY**: all sales channels. + * The sales channel condition that defines whether the split logic applies. Possible values: * **Ecommerce**: Online transactions where the cardholder is present. * **ContAuth**: Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). * **Moto**: Mail-order and telephone-order transactions where the customer is in contact with the merchant via email or telephone. * **POS**: Point-of-sale transactions where the customer is physically present to make a payment using a secure payment terminal. * **ANY**: All sales channels. */ "shopperInteraction": SplitConfigurationRule.ShopperInteractionEnum; "splitLogic": SplitConfigurationLogic; diff --git a/src/typings/management/svsInfo.ts b/src/typings/management/svsInfo.ts new file mode 100644 index 000000000..71bab8e79 --- /dev/null +++ b/src/typings/management/svsInfo.ts @@ -0,0 +1,46 @@ +/* + * The version of the OpenAPI document: v3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit this class manually. + */ + + +export class SvsInfo { + /** + * The merchant ID (MID) that the acquirer recognizes you by. + */ + "authorisationMid": string; + /** + * The three-character ISO currency code, example **USD** + */ + "currencyCode": string; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "authorisationMid", + "baseName": "authorisationMid", + "type": "string", + "format": "" + }, + { + "name": "currencyCode", + "baseName": "currencyCode", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return SvsInfo.attributeTypeMap; + } + + public constructor() { + } +} + diff --git a/src/typings/management/terminalSettings.ts b/src/typings/management/terminalSettings.ts index ad1111744..b34f3976b 100644 --- a/src/typings/management/terminalSettings.ts +++ b/src/typings/management/terminalSettings.ts @@ -12,6 +12,7 @@ import { Connectivity } from "./connectivity"; import { Gratuity } from "./gratuity"; import { Hardware } from "./hardware"; import { Localization } from "./localization"; +import { Moto } from "./moto"; import { Nexo } from "./nexo"; import { OfflineProcessing } from "./offlineProcessing"; import { Opi } from "./opi"; @@ -40,6 +41,7 @@ export class TerminalSettings { "gratuities"?: Array | null; "hardware"?: Hardware | null; "localization"?: Localization | null; + "moto"?: Moto | null; "nexo"?: Nexo | null; "offlineProcessing"?: OfflineProcessing | null; "opi"?: Opi | null; @@ -93,6 +95,12 @@ export class TerminalSettings { "type": "Localization | null", "format": "" }, + { + "name": "moto", + "baseName": "moto", + "type": "Moto | null", + "format": "" + }, { "name": "nexo", "baseName": "nexo", diff --git a/src/typings/management/updateSplitConfigurationRuleRequest.ts b/src/typings/management/updateSplitConfigurationRuleRequest.ts index be9988c72..cc21e8a84 100644 --- a/src/typings/management/updateSplitConfigurationRuleRequest.ts +++ b/src/typings/management/updateSplitConfigurationRuleRequest.ts @@ -22,7 +22,7 @@ export class UpdateSplitConfigurationRuleRequest { */ "paymentMethod": string; /** - * The sales channel condition that defines whether the split logic applies. Possible values: * **Ecommerce**: online transactions where the cardholder is present. * **ContAuth**: card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). * **Moto**: mail-order and telephone-order transactions where the customer is in contact with the merchant via email or telephone. * **POS**: point-of-sale transactions where the customer is physically present to make a payment using a secure payment terminal. * **ANY**: all sales channels. + * The sales channel condition that defines whether the split logic applies. Possible values: * **Ecommerce**: Online transactions where the cardholder is present. * **ContAuth**: Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). * **Moto**: Mail-order and telephone-order transactions where the customer is in contact with the merchant via email or telephone. * **POS**: Point-of-sale transactions where the customer is physically present to make a payment using a secure payment terminal. * **ANY**: All sales channels. */ "shopperInteraction": string; diff --git a/src/typings/management/valuelinkInfo.ts b/src/typings/management/valuelinkInfo.ts new file mode 100644 index 000000000..16b5a8bd2 --- /dev/null +++ b/src/typings/management/valuelinkInfo.ts @@ -0,0 +1,72 @@ +/* + * The version of the OpenAPI document: v3 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit this class manually. + */ + + +export class ValuelinkInfo { + /** + * Authorisation Mid + */ + "authorisationMid": string; + /** + * PIN Support. For ecommerce, PIN is required. + */ + "pinSupport": ValuelinkInfo.PinSupportEnum; + /** + * Submitter ID + */ + "submitterId"?: string; + /** + * Terminal ID + */ + "terminalId"?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "authorisationMid", + "baseName": "authorisationMid", + "type": "string", + "format": "" + }, + { + "name": "pinSupport", + "baseName": "pinSupport", + "type": "ValuelinkInfo.PinSupportEnum", + "format": "" + }, + { + "name": "submitterId", + "baseName": "submitterId", + "type": "string", + "format": "" + }, + { + "name": "terminalId", + "baseName": "terminalId", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return ValuelinkInfo.attributeTypeMap; + } + + public constructor() { + } +} + +export namespace ValuelinkInfo { + export enum PinSupportEnum { + Pin = 'PIN', + NoPin = 'NO PIN' + } +}