Skip to content
Open
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
17 changes: 17 additions & 0 deletions src/typings/management/affirmInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@


export class AffirmInfo {
/**
* Merchant price plan
*/
"pricePlan"?: AffirmInfo.PricePlanEnum;
/**
* Merchant support email
*/
Expand All @@ -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",
Expand All @@ -34,3 +44,10 @@ export class AffirmInfo {
}
}

export namespace AffirmInfo {
export enum PricePlanEnum {
Bronze = 'BRONZE',
Silver = 'SILVER',
Gold = 'GOLD'
}
}
4 changes: 2 additions & 2 deletions src/typings/management/amount.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion src/typings/management/cardholderReceipt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
41 changes: 41 additions & 0 deletions src/typings/management/forceRebootDetails.ts
Original file line number Diff line number Diff line change
@@ -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'
}
}
72 changes: 72 additions & 0 deletions src/typings/management/givexInfo.ts
Original file line number Diff line number Diff line change
@@ -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'
}
}
2 changes: 1 addition & 1 deletion src/typings/management/key.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
/**
Expand Down
5 changes: 5 additions & 0 deletions src/typings/management/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down
46 changes: 46 additions & 0 deletions src/typings/management/moto.ts
Original file line number Diff line number Diff line change
@@ -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() {
}
}

14 changes: 14 additions & 0 deletions src/typings/management/objectSerializer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -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";
Expand Down Expand Up @@ -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";
Expand Down Expand Up @@ -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";
Expand All @@ -215,6 +220,7 @@ let primitives = [

let enumsMap: Set<string> = new Set<string>([
"AccelInfo.ProcessingTypeEnum",
"AffirmInfo.PricePlanEnum",
"AmexInfo.ServiceLevelEnum",
"AndroidApp.StatusEnum",
"Connectivity.SimcardStatusEnum",
Expand All @@ -226,6 +232,8 @@ let enumsMap: Set<string> = new Set<string>([
"CreateMerchantWebhookRequest.EncryptionProtocolEnum",
"CreateMerchantWebhookRequest.NetworkTypeEnum",
"DinersInfo.ServiceLevelEnum",
"ForceRebootDetails.TypeEnum",
"GivexInfo.PaymentFlowEnum",
"InstallAndroidAppDetails.TypeEnum",
"InstallAndroidCertificateDetails.TypeEnum",
"JCBInfo.ServiceLevelEnum",
Expand Down Expand Up @@ -289,6 +297,7 @@ let enumsMap: Set<string> = new Set<string>([
"UpdateSplitConfigurationLogicRequest.SurchargeEnum",
"UpdateSplitConfigurationLogicRequest.TipEnum",
"UpdateStoreRequest.StatusEnum",
"ValuelinkInfo.PinSupportEnum",
"Webhook.CommunicationFormatEnum",
"Webhook.EncryptionProtocolEnum",
"Webhook.FilterMerchantAccountTypeEnum",
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -383,6 +394,7 @@ let typeMap: {[index: string]: any} = {
"MerchantLinks": MerchantLinks,
"MinorUnitsMonetaryValue": MinorUnitsMonetaryValue,
"ModelFile": ModelFile,
"Moto": Moto,
"Name": Name,
"Name2": Name2,
"Nexo": Nexo,
Expand Down Expand Up @@ -441,6 +453,7 @@ let typeMap: {[index: string]: any} = {
"SubMerchantData": SubMerchantData,
"SupportedCardTypes": SupportedCardTypes,
"Surcharge": Surcharge,
"SvsInfo": SvsInfo,
"SwishInfo": SwishInfo,
"TapToPay": TapToPay,
"Terminal": Terminal,
Expand Down Expand Up @@ -490,6 +503,7 @@ let typeMap: {[index: string]: any} = {
"UploadAndroidCertificateResponse": UploadAndroidCertificateResponse,
"Url": Url,
"User": User,
"ValuelinkInfo": ValuelinkInfo,
"VippsInfo": VippsInfo,
"WeChatPayInfo": WeChatPayInfo,
"WeChatPayPosInfo": WeChatPayPosInfo,
Expand Down
2 changes: 1 addition & 1 deletion src/typings/management/payment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
/**
Expand Down
Loading