Skip to content

Commit 8542824

Browse files
[management] Automated update from Adyen/adyen-openapi@0a007ce
1 parent d52507b commit 8542824

19 files changed

+388
-8
lines changed

src/typings/management/affirmInfo.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99

1010

1111
export class AffirmInfo {
12+
/**
13+
* Merchant price plan
14+
*/
15+
"pricePlan"?: AffirmInfo.PricePlanEnum;
1216
/**
1317
* Merchant support email
1418
*/
@@ -19,6 +23,12 @@ export class AffirmInfo {
1923
static readonly mapping: {[index: string]: string} | undefined = undefined;
2024

2125
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
26+
{
27+
"name": "pricePlan",
28+
"baseName": "pricePlan",
29+
"type": "AffirmInfo.PricePlanEnum",
30+
"format": ""
31+
},
2232
{
2333
"name": "supportEmail",
2434
"baseName": "supportEmail",
@@ -34,3 +44,10 @@ export class AffirmInfo {
3444
}
3545
}
3646

47+
export namespace AffirmInfo {
48+
export enum PricePlanEnum {
49+
Bronze = 'BRONZE',
50+
Silver = 'SILVER',
51+
Gold = 'GOLD'
52+
}
53+
}

src/typings/management/amount.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010

1111
export class Amount {
1212
/**
13-
* The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes#currency-codes).
13+
* The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes#currency-codes) of the amount.
1414
*/
1515
"currency": string;
1616
/**
17-
* The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes#minor-units).
17+
* The numeric value of the amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes#minor-units).
1818
*/
1919
"value": number;
2020

src/typings/management/cardholderReceipt.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
export class CardholderReceipt {
1212
/**
13-
* 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`
13+
* 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.
1414
*/
1515
"headerForAuthorizedReceipt"?: string;
1616

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
/*
2+
* The version of the OpenAPI document: v3
3+
*
4+
*
5+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
6+
* https://openapi-generator.tech
7+
* Do not edit this class manually.
8+
*/
9+
10+
11+
export class ForceRebootDetails {
12+
/**
13+
* Type of terminal action: Force Reboot.
14+
*/
15+
"type"?: ForceRebootDetails.TypeEnum;
16+
17+
static readonly discriminator: string | undefined = undefined;
18+
19+
static readonly mapping: {[index: string]: string} | undefined = undefined;
20+
21+
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
22+
{
23+
"name": "type",
24+
"baseName": "type",
25+
"type": "ForceRebootDetails.TypeEnum",
26+
"format": ""
27+
} ];
28+
29+
static getAttributeTypeMap() {
30+
return ForceRebootDetails.attributeTypeMap;
31+
}
32+
33+
public constructor() {
34+
}
35+
}
36+
37+
export namespace ForceRebootDetails {
38+
export enum TypeEnum {
39+
ForceReboot = 'ForceReboot'
40+
}
41+
}
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
/*
2+
* The version of the OpenAPI document: v3
3+
*
4+
*
5+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
6+
* https://openapi-generator.tech
7+
* Do not edit this class manually.
8+
*/
9+
10+
11+
export class GivexInfo {
12+
/**
13+
* The three-character ISO currency code, such as **EUR**.
14+
*/
15+
"currencyCode": string;
16+
/**
17+
* The password provided by the acquirer.
18+
*/
19+
"password": string;
20+
/**
21+
* The sales channel used for the payment.
22+
*/
23+
"paymentFlow": GivexInfo.PaymentFlowEnum;
24+
/**
25+
* The username provided by the acquirer.
26+
*/
27+
"username": string;
28+
29+
static readonly discriminator: string | undefined = undefined;
30+
31+
static readonly mapping: {[index: string]: string} | undefined = undefined;
32+
33+
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
34+
{
35+
"name": "currencyCode",
36+
"baseName": "currencyCode",
37+
"type": "string",
38+
"format": ""
39+
},
40+
{
41+
"name": "password",
42+
"baseName": "password",
43+
"type": "string",
44+
"format": ""
45+
},
46+
{
47+
"name": "paymentFlow",
48+
"baseName": "paymentFlow",
49+
"type": "GivexInfo.PaymentFlowEnum",
50+
"format": ""
51+
},
52+
{
53+
"name": "username",
54+
"baseName": "username",
55+
"type": "string",
56+
"format": ""
57+
} ];
58+
59+
static getAttributeTypeMap() {
60+
return GivexInfo.attributeTypeMap;
61+
}
62+
63+
public constructor() {
64+
}
65+
}
66+
67+
export namespace GivexInfo {
68+
export enum PaymentFlowEnum {
69+
Ecommerce = 'Ecommerce',
70+
Pos = 'POS'
71+
}
72+
}

src/typings/management/key.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export class Key {
1414
*/
1515
"identifier"?: string;
1616
/**
17-
* 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: `~`, `@`, `$`, `%`, `^`, `&`, `*`, `(`, `)`, `_`, `+`, `=`, `}`, `{`, `]`, `[`, `;`, `:`, `?`, `.`, `,`, `>`, `<`.
17+
* 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: `~`, `!`, `@`, `#`, `$`, `%`, `^`, `&`, `*`, `(`, `)`, `_`, `+`, `=`, `}`, `{`, `]`, `[`, `;`, `:`, `?`, `.`, `,`, `>`, `<`.
1818
*/
1919
"passphrase"?: string;
2020
/**

src/typings/management/models.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,12 @@ export * from "./dataCenter"
5151
export * from "./dinersInfo"
5252
export * from "./eventUrl"
5353
export * from "./externalTerminalAction"
54+
export * from "./forceRebootDetails"
5455
export * from "./generateApiKeyResponse"
5556
export * from "./generateClientKeyResponse"
5657
export * from "./generateHmacKeyResponse"
5758
export * from "./genericPmWithTdiInfo"
59+
export * from "./givexInfo"
5860
export * from "./googlePayInfo"
5961
export * from "./gratuity"
6062
export * from "./hardware"
@@ -85,6 +87,7 @@ export * from "./merchant"
8587
export * from "./merchantLinks"
8688
export * from "./minorUnitsMonetaryValue"
8789
export * from "./modelFile"
90+
export * from "./moto"
8891
export * from "./name"
8992
export * from "./name2"
9093
export * from "./nexo"
@@ -143,6 +146,7 @@ export * from "./storeSplitConfiguration"
143146
export * from "./subMerchantData"
144147
export * from "./supportedCardTypes"
145148
export * from "./surcharge"
149+
export * from "./svsInfo"
146150
export * from "./swishInfo"
147151
export * from "./tapToPay"
148152
export * from "./terminal"
@@ -192,6 +196,7 @@ export * from "./uploadAndroidAppResponse"
192196
export * from "./uploadAndroidCertificateResponse"
193197
export * from "./url"
194198
export * from "./user"
199+
export * from "./valuelinkInfo"
195200
export * from "./vippsInfo"
196201
export * from "./weChatPayInfo"
197202
export * from "./weChatPayPosInfo"

src/typings/management/moto.ts

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
/*
2+
* The version of the OpenAPI document: v3
3+
*
4+
*
5+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
6+
* https://openapi-generator.tech
7+
* Do not edit this class manually.
8+
*/
9+
10+
11+
export class Moto {
12+
/**
13+
* Enable MOTO transactions.
14+
*/
15+
"enableMoto"?: boolean;
16+
/**
17+
* 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.
18+
*/
19+
"maxAmount"?: number;
20+
21+
static readonly discriminator: string | undefined = undefined;
22+
23+
static readonly mapping: {[index: string]: string} | undefined = undefined;
24+
25+
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
26+
{
27+
"name": "enableMoto",
28+
"baseName": "enableMoto",
29+
"type": "boolean",
30+
"format": ""
31+
},
32+
{
33+
"name": "maxAmount",
34+
"baseName": "maxAmount",
35+
"type": "number",
36+
"format": "int32"
37+
} ];
38+
39+
static getAttributeTypeMap() {
40+
return Moto.attributeTypeMap;
41+
}
42+
43+
public constructor() {
44+
}
45+
}
46+

src/typings/management/objectSerializer.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,12 @@ import { DataCenter } from "./dataCenter";
5353
import { DinersInfo } from "./dinersInfo";
5454
import { EventUrl } from "./eventUrl";
5555
import { ExternalTerminalAction } from "./externalTerminalAction";
56+
import { ForceRebootDetails } from "./forceRebootDetails";
5657
import { GenerateApiKeyResponse } from "./generateApiKeyResponse";
5758
import { GenerateClientKeyResponse } from "./generateClientKeyResponse";
5859
import { GenerateHmacKeyResponse } from "./generateHmacKeyResponse";
5960
import { GenericPmWithTdiInfo } from "./genericPmWithTdiInfo";
61+
import { GivexInfo } from "./givexInfo";
6062
import { GooglePayInfo } from "./googlePayInfo";
6163
import { Gratuity } from "./gratuity";
6264
import { Hardware } from "./hardware";
@@ -87,6 +89,7 @@ import { Merchant } from "./merchant";
8789
import { MerchantLinks } from "./merchantLinks";
8890
import { MinorUnitsMonetaryValue } from "./minorUnitsMonetaryValue";
8991
import { ModelFile } from "./modelFile";
92+
import { Moto } from "./moto";
9093
import { Name } from "./name";
9194
import { Name2 } from "./name2";
9295
import { Nexo } from "./nexo";
@@ -145,6 +148,7 @@ import { StoreSplitConfiguration } from "./storeSplitConfiguration";
145148
import { SubMerchantData } from "./subMerchantData";
146149
import { SupportedCardTypes } from "./supportedCardTypes";
147150
import { Surcharge } from "./surcharge";
151+
import { SvsInfo } from "./svsInfo";
148152
import { SwishInfo } from "./swishInfo";
149153
import { TapToPay } from "./tapToPay";
150154
import { Terminal } from "./terminal";
@@ -194,6 +198,7 @@ import { UploadAndroidAppResponse } from "./uploadAndroidAppResponse";
194198
import { UploadAndroidCertificateResponse } from "./uploadAndroidCertificateResponse";
195199
import { Url } from "./url";
196200
import { User } from "./user";
201+
import { ValuelinkInfo } from "./valuelinkInfo";
197202
import { VippsInfo } from "./vippsInfo";
198203
import { WeChatPayInfo } from "./weChatPayInfo";
199204
import { WeChatPayPosInfo } from "./weChatPayPosInfo";
@@ -215,6 +220,7 @@ let primitives = [
215220

216221
let enumsMap: Set<string> = new Set<string>([
217222
"AccelInfo.ProcessingTypeEnum",
223+
"AffirmInfo.PricePlanEnum",
218224
"AmexInfo.ServiceLevelEnum",
219225
"AndroidApp.StatusEnum",
220226
"Connectivity.SimcardStatusEnum",
@@ -226,6 +232,8 @@ let enumsMap: Set<string> = new Set<string>([
226232
"CreateMerchantWebhookRequest.EncryptionProtocolEnum",
227233
"CreateMerchantWebhookRequest.NetworkTypeEnum",
228234
"DinersInfo.ServiceLevelEnum",
235+
"ForceRebootDetails.TypeEnum",
236+
"GivexInfo.PaymentFlowEnum",
229237
"InstallAndroidAppDetails.TypeEnum",
230238
"InstallAndroidCertificateDetails.TypeEnum",
231239
"JCBInfo.ServiceLevelEnum",
@@ -289,6 +297,7 @@ let enumsMap: Set<string> = new Set<string>([
289297
"UpdateSplitConfigurationLogicRequest.SurchargeEnum",
290298
"UpdateSplitConfigurationLogicRequest.TipEnum",
291299
"UpdateStoreRequest.StatusEnum",
300+
"ValuelinkInfo.PinSupportEnum",
292301
"Webhook.CommunicationFormatEnum",
293302
"Webhook.EncryptionProtocolEnum",
294303
"Webhook.FilterMerchantAccountTypeEnum",
@@ -349,10 +358,12 @@ let typeMap: {[index: string]: any} = {
349358
"DinersInfo": DinersInfo,
350359
"EventUrl": EventUrl,
351360
"ExternalTerminalAction": ExternalTerminalAction,
361+
"ForceRebootDetails": ForceRebootDetails,
352362
"GenerateApiKeyResponse": GenerateApiKeyResponse,
353363
"GenerateClientKeyResponse": GenerateClientKeyResponse,
354364
"GenerateHmacKeyResponse": GenerateHmacKeyResponse,
355365
"GenericPmWithTdiInfo": GenericPmWithTdiInfo,
366+
"GivexInfo": GivexInfo,
356367
"GooglePayInfo": GooglePayInfo,
357368
"Gratuity": Gratuity,
358369
"Hardware": Hardware,
@@ -383,6 +394,7 @@ let typeMap: {[index: string]: any} = {
383394
"MerchantLinks": MerchantLinks,
384395
"MinorUnitsMonetaryValue": MinorUnitsMonetaryValue,
385396
"ModelFile": ModelFile,
397+
"Moto": Moto,
386398
"Name": Name,
387399
"Name2": Name2,
388400
"Nexo": Nexo,
@@ -441,6 +453,7 @@ let typeMap: {[index: string]: any} = {
441453
"SubMerchantData": SubMerchantData,
442454
"SupportedCardTypes": SupportedCardTypes,
443455
"Surcharge": Surcharge,
456+
"SvsInfo": SvsInfo,
444457
"SwishInfo": SwishInfo,
445458
"TapToPay": TapToPay,
446459
"Terminal": Terminal,
@@ -490,6 +503,7 @@ let typeMap: {[index: string]: any} = {
490503
"UploadAndroidCertificateResponse": UploadAndroidCertificateResponse,
491504
"Url": Url,
492505
"User": User,
506+
"ValuelinkInfo": ValuelinkInfo,
493507
"VippsInfo": VippsInfo,
494508
"WeChatPayInfo": WeChatPayInfo,
495509
"WeChatPayPosInfo": WeChatPayPosInfo,

src/typings/management/payment.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
export class Payment {
1212
/**
13-
* 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.
13+
* 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.
1414
*/
1515
"contactlessCurrency"?: string;
1616
/**

0 commit comments

Comments
 (0)