Skip to content

Commit 2122874

Browse files
AdyenAutomationBotAdyenAutomationBotDjoykeAbyahjillingk
authored
Update all services (#1359)
* [reformat][adyen-sdk-automation] automated change * style(fmt): code formatted * Update transferRoute.ts --------- Co-authored-by: AdyenAutomationBot <Adyen Automation plugins_dev@adyen.com> Co-authored-by: Djoyke Reijans <115019123+DjoykeAbyah@users.noreply.github.com> Co-authored-by: jillingk <93914435+jillingk@users.noreply.github.com>
1 parent 58dd4f3 commit 2122874

File tree

3 files changed

+53
-1
lines changed

3 files changed

+53
-1
lines changed

src/typings/management/androidApp.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,22 @@
77
* Do not edit this class manually.
88
*/
99

10+
import { AndroidAppError } from './androidAppError';
1011

1112
export class AndroidApp {
1213
/**
1314
* The description that was provided when uploading the app. The description is not shown on the terminal.
1415
*/
1516
'description'?: string;
1617
/**
17-
* The error code of the app. It exists if the status is error or invalid.
18+
* The error code of the Android app with the `status` of either **error** or **invalid**.
1819
*/
1920
'errorCode'?: string;
2021
/**
22+
* The list of errors of the Android app.
23+
*/
24+
'errors'?: Array<AndroidAppError>;
25+
/**
2126
* The unique identifier of the app.
2227
*/
2328
'id': string;
@@ -55,6 +60,11 @@ export class AndroidApp {
5560
"baseName": "errorCode",
5661
"type": "string"
5762
},
63+
{
64+
"name": "errors",
65+
"baseName": "errors",
66+
"type": "Array<AndroidAppError>"
67+
},
5868
{
5969
"name": "id",
6070
"baseName": "id",
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
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 AndroidAppError {
12+
/**
13+
* The error code of the Android app with the `status` of either **error** or **invalid**.
14+
*/
15+
'errorCode'?: string;
16+
/**
17+
* The list of payment terminal models to which the returned `errorCode` applies.
18+
*/
19+
'terminalModels'?: Array<string>;
20+
21+
static discriminator: string | undefined = undefined;
22+
23+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
24+
{
25+
"name": "errorCode",
26+
"baseName": "errorCode",
27+
"type": "string"
28+
},
29+
{
30+
"name": "terminalModels",
31+
"baseName": "terminalModels",
32+
"type": "Array<string>"
33+
} ];
34+
35+
static getAttributeTypeMap() {
36+
return AndroidAppError.attributeTypeMap;
37+
}
38+
}
39+

src/typings/management/models.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ export * from './allowedOriginsResponse';
1818
export * from './amexInfo';
1919
export * from './amount';
2020
export * from './androidApp';
21+
export * from './androidAppError';
2122
export * from './androidAppsResponse';
2223
export * from './androidCertificate';
2324
export * from './androidCertificatesResponse';
@@ -203,6 +204,7 @@ import { AllowedOriginsResponse } from './allowedOriginsResponse';
203204
import { AmexInfo } from './amexInfo';
204205
import { Amount } from './amount';
205206
import { AndroidApp } from './androidApp';
207+
import { AndroidAppError } from './androidAppError';
206208
import { AndroidAppsResponse } from './androidAppsResponse';
207209
import { AndroidCertificate } from './androidCertificate';
208210
import { AndroidCertificatesResponse } from './androidCertificatesResponse';
@@ -473,6 +475,7 @@ let typeMap: {[index: string]: any} = {
473475
"AmexInfo": AmexInfo,
474476
"Amount": Amount,
475477
"AndroidApp": AndroidApp,
478+
"AndroidAppError": AndroidAppError,
476479
"AndroidAppsResponse": AndroidAppsResponse,
477480
"AndroidCertificate": AndroidCertificate,
478481
"AndroidCertificatesResponse": AndroidCertificatesResponse,

0 commit comments

Comments
 (0)