Skip to content

Commit 2443c63

Browse files
[management] Automated update from Adyen/adyen-openapi@2462fa5
1 parent 8b52153 commit 2443c63

5 files changed

Lines changed: 124 additions & 0 deletions

File tree

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
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 HomeScreenSettings {
12+
/**
13+
* Hide/show the navigation bar.
14+
*/
15+
"hideNavigationBar"?: boolean;
16+
/**
17+
* Show/hide the payments menu.
18+
*/
19+
"showPaymentsMenu"?: boolean;
20+
/**
21+
* Show/hide the settings menu.
22+
*/
23+
"showSettingsMenu"?: boolean;
24+
25+
static readonly discriminator: string | undefined = undefined;
26+
27+
static readonly mapping: {[index: string]: string} | undefined = undefined;
28+
29+
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
30+
{
31+
"name": "hideNavigationBar",
32+
"baseName": "hideNavigationBar",
33+
"type": "boolean",
34+
"format": ""
35+
},
36+
{
37+
"name": "showPaymentsMenu",
38+
"baseName": "showPaymentsMenu",
39+
"type": "boolean",
40+
"format": ""
41+
},
42+
{
43+
"name": "showSettingsMenu",
44+
"baseName": "showSettingsMenu",
45+
"type": "boolean",
46+
"format": ""
47+
} ];
48+
49+
static getAttributeTypeMap() {
50+
return HomeScreenSettings.attributeTypeMap;
51+
}
52+
53+
public constructor() {
54+
}
55+
}
56+
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 KioskModeSettings {
12+
/**
13+
* List of package names for apps allowed to run in kiosk mode.
14+
*/
15+
"allowedAppsInKioskMode"?: Array<string>;
16+
/**
17+
* The package name of the app to launch on startup. This must be one of the apps included in `allowedAppsInKioskMode`.
18+
*/
19+
"kioskAppOnStartup"?: string;
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": "allowedAppsInKioskMode",
28+
"baseName": "allowedAppsInKioskMode",
29+
"type": "Array<string>",
30+
"format": ""
31+
},
32+
{
33+
"name": "kioskAppOnStartup",
34+
"baseName": "kioskAppOnStartup",
35+
"type": "string",
36+
"format": ""
37+
} ];
38+
39+
static getAttributeTypeMap() {
40+
return KioskModeSettings.attributeTypeMap;
41+
}
42+
43+
public constructor() {
44+
}
45+
}
46+

src/typings/management/models.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,15 @@ export * from "./givexInfo"
6060
export * from "./googlePayInfo"
6161
export * from "./gratuity"
6262
export * from "./hardware"
63+
export * from "./homeScreenSettings"
6364
export * from "./idName"
6465
export * from "./installAndroidAppDetails"
6566
export * from "./installAndroidCertificateDetails"
6667
export * from "./installedAPKs"
6768
export * from "./invalidField"
6869
export * from "./jCBInfo"
6970
export * from "./key"
71+
export * from "./kioskModeSettings"
7072
export * from "./klarnaInfo"
7173
export * from "./links"
7274
export * from "./linksElement"

src/typings/management/objectSerializer.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,15 @@ import { GivexInfo } from "./givexInfo";
6262
import { GooglePayInfo } from "./googlePayInfo";
6363
import { Gratuity } from "./gratuity";
6464
import { Hardware } from "./hardware";
65+
import { HomeScreenSettings } from "./homeScreenSettings";
6566
import { IdName } from "./idName";
6667
import { InstallAndroidAppDetails } from "./installAndroidAppDetails";
6768
import { InstallAndroidCertificateDetails } from "./installAndroidCertificateDetails";
6869
import { InstalledAPKs } from "./installedAPKs";
6970
import { InvalidField } from "./invalidField";
7071
import { JCBInfo } from "./jCBInfo";
7172
import { Key } from "./key";
73+
import { KioskModeSettings } from "./kioskModeSettings";
7274
import { KlarnaInfo } from "./klarnaInfo";
7375
import { Links } from "./links";
7476
import { LinksElement } from "./linksElement";
@@ -370,13 +372,15 @@ let typeMap: {[index: string]: any} = {
370372
"GooglePayInfo": GooglePayInfo,
371373
"Gratuity": Gratuity,
372374
"Hardware": Hardware,
375+
"HomeScreenSettings": HomeScreenSettings,
373376
"IdName": IdName,
374377
"InstallAndroidAppDetails": InstallAndroidAppDetails,
375378
"InstallAndroidCertificateDetails": InstallAndroidCertificateDetails,
376379
"InstalledAPKs": InstalledAPKs,
377380
"InvalidField": InvalidField,
378381
"JCBInfo": JCBInfo,
379382
"Key": Key,
383+
"KioskModeSettings": KioskModeSettings,
380384
"KlarnaInfo": KlarnaInfo,
381385
"Links": Links,
382386
"LinksElement": LinksElement,

src/typings/management/terminalSettings.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ import { CardholderReceipt } from "./cardholderReceipt";
1111
import { Connectivity } from "./connectivity";
1212
import { Gratuity } from "./gratuity";
1313
import { Hardware } from "./hardware";
14+
import { HomeScreenSettings } from "./homeScreenSettings";
15+
import { KioskModeSettings } from "./kioskModeSettings";
1416
import { Localization } from "./localization";
1517
import { Moto } from "./moto";
1618
import { Nexo } from "./nexo";
@@ -40,6 +42,8 @@ export class TerminalSettings {
4042
*/
4143
"gratuities"?: Array<Gratuity> | null;
4244
"hardware"?: Hardware | null;
45+
"homeScreen"?: HomeScreenSettings | null;
46+
"kioskMode"?: KioskModeSettings | null;
4347
"localization"?: Localization | null;
4448
"moto"?: Moto | null;
4549
"nexo"?: Nexo | null;
@@ -89,6 +93,18 @@ export class TerminalSettings {
8993
"type": "Hardware | null",
9094
"format": ""
9195
},
96+
{
97+
"name": "homeScreen",
98+
"baseName": "homeScreen",
99+
"type": "HomeScreenSettings | null",
100+
"format": ""
101+
},
102+
{
103+
"name": "kioskMode",
104+
"baseName": "kioskMode",
105+
"type": "KioskModeSettings | null",
106+
"format": ""
107+
},
92108
{
93109
"name": "localization",
94110
"baseName": "localization",

0 commit comments

Comments
 (0)