Skip to content

Commit fcc4093

Browse files
committed
Add generated models
1 parent ce31d0c commit fcc4093

22 files changed

+1488
-0
lines changed
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: v1
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 ACHAccountIdentifier {
12+
/**
13+
* The account number of the bank account.
14+
*/
15+
"accountNumber": string;
16+
/**
17+
* The [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or whitespace.
18+
*/
19+
"routingNumber": 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": "accountNumber",
28+
"baseName": "accountNumber",
29+
"type": "string",
30+
"format": ""
31+
},
32+
{
33+
"name": "routingNumber",
34+
"baseName": "routingNumber",
35+
"type": "string",
36+
"format": ""
37+
} ];
38+
39+
static getAttributeTypeMap() {
40+
return ACHAccountIdentifier.attributeTypeMap;
41+
}
42+
43+
public constructor() {
44+
}
45+
}
46+
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
/*
2+
* The version of the OpenAPI document: v1
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+
import { ACHAccountIdentifier } from "./aCHAccountIdentifier";
11+
import { BACSAccountIdentifier } from "./bACSAccountIdentifier";
12+
import { BSBAccountIdentifier } from "./bSBAccountIdentifier";
13+
import { EFTAccountIdentifier } from "./eFTAccountIdentifier";
14+
import { IBANAccountIdentifier } from "./iBANAccountIdentifier";
15+
import { RIXAccountIdentifier } from "./rIXAccountIdentifier";
16+
17+
18+
export class AccountIdentifiers {
19+
"ach"?: ACHAccountIdentifier | null;
20+
"bacs"?: BACSAccountIdentifier | null;
21+
"bsb"?: BSBAccountIdentifier | null;
22+
"eft"?: EFTAccountIdentifier | null;
23+
"iban"?: IBANAccountIdentifier | null;
24+
"rix"?: RIXAccountIdentifier | null;
25+
26+
static readonly discriminator: string | undefined = undefined;
27+
28+
static readonly mapping: {[index: string]: string} | undefined = undefined;
29+
30+
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
31+
{
32+
"name": "ach",
33+
"baseName": "ach",
34+
"type": "ACHAccountIdentifier | null",
35+
"format": ""
36+
},
37+
{
38+
"name": "bacs",
39+
"baseName": "bacs",
40+
"type": "BACSAccountIdentifier | null",
41+
"format": ""
42+
},
43+
{
44+
"name": "bsb",
45+
"baseName": "bsb",
46+
"type": "BSBAccountIdentifier | null",
47+
"format": ""
48+
},
49+
{
50+
"name": "eft",
51+
"baseName": "eft",
52+
"type": "EFTAccountIdentifier | null",
53+
"format": ""
54+
},
55+
{
56+
"name": "iban",
57+
"baseName": "iban",
58+
"type": "IBANAccountIdentifier | null",
59+
"format": ""
60+
},
61+
{
62+
"name": "rix",
63+
"baseName": "rix",
64+
"type": "RIXAccountIdentifier | null",
65+
"format": ""
66+
} ];
67+
68+
static getAttributeTypeMap() {
69+
return AccountIdentifiers.attributeTypeMap;
70+
}
71+
72+
public constructor() {
73+
}
74+
}
75+
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
/*
2+
* The version of the OpenAPI document: v1
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+
import { Identity } from "./identity";
11+
import { PartyRole } from "./partyRole";
12+
13+
14+
export class AccountParty {
15+
"identity": Identity;
16+
"role": PartyRole;
17+
18+
static readonly discriminator: string | undefined = undefined;
19+
20+
static readonly mapping: {[index: string]: string} | undefined = undefined;
21+
22+
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
23+
{
24+
"name": "identity",
25+
"baseName": "identity",
26+
"type": "Identity",
27+
"format": ""
28+
},
29+
{
30+
"name": "role",
31+
"baseName": "role",
32+
"type": "PartyRole",
33+
"format": ""
34+
} ];
35+
36+
static getAttributeTypeMap() {
37+
return AccountParty.attributeTypeMap;
38+
}
39+
40+
public constructor() {
41+
}
42+
}
43+
44+
export namespace AccountParty {
45+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/*
2+
* The version of the OpenAPI document: v1
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+
export enum AccountType {
11+
Current = 'CURRENT',
12+
Savings = 'SAVINGS',
13+
Business = 'BUSINESS',
14+
CreditCard = 'CREDIT_CARD',
15+
Loan = 'LOAN',
16+
Unknown = 'UNKNOWN'
17+
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
/*
2+
* The version of the OpenAPI document: v1
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+
export enum AccountVerificationCountry {
11+
Se = 'SE',
12+
Fi = 'FI',
13+
No = 'NO',
14+
Dk = 'DK',
15+
Nl = 'NL',
16+
It = 'IT',
17+
De = 'DE',
18+
At = 'AT',
19+
Es = 'ES',
20+
Pt = 'PT',
21+
Fr = 'FR',
22+
Gb = 'GB',
23+
Be = 'BE',
24+
Lv = 'LV',
25+
Lt = 'LT',
26+
Pl = 'PL',
27+
Ee = 'EE',
28+
Ie = 'IE',
29+
Us = 'US',
30+
Ca = 'CA',
31+
Au = 'AU'
32+
}
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
/*
2+
* The version of the OpenAPI document: v1
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+
import { AccountVerificationCountry } from "./accountVerificationCountry";
11+
import { VerifiedAccount } from "./verifiedAccount";
12+
13+
14+
export class AccountVerificationReportResponse {
15+
/**
16+
* A list of bank accounts with their respective information.
17+
*/
18+
"accounts": Array<VerifiedAccount>;
19+
"country": AccountVerificationCountry;
20+
/**
21+
* The unique identifier for the specific report.
22+
*/
23+
"id": string;
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": "accounts",
32+
"baseName": "accounts",
33+
"type": "Array<VerifiedAccount>",
34+
"format": ""
35+
},
36+
{
37+
"name": "country",
38+
"baseName": "country",
39+
"type": "AccountVerificationCountry",
40+
"format": ""
41+
},
42+
{
43+
"name": "id",
44+
"baseName": "id",
45+
"type": "string",
46+
"format": ""
47+
} ];
48+
49+
static getAttributeTypeMap() {
50+
return AccountVerificationReportResponse.attributeTypeMap;
51+
}
52+
53+
public constructor() {
54+
}
55+
}
56+
57+
export namespace AccountVerificationReportResponse {
58+
}
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
/*
2+
* The version of the OpenAPI document: v1
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+
import { AccountVerificationCountry } from "./accountVerificationCountry";
11+
12+
13+
export class AccountVerificationRoutesRequest {
14+
"country": AccountVerificationCountry;
15+
/**
16+
* The language to use in the open banking flow UI, specified by a combination of a two-letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) language code and an [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code. This information is used to configure the open banking flow with the same language for a consistent user experience. Default value: **en-US**
17+
*/
18+
"locale"?: string;
19+
/**
20+
* The URL where Adyen redirects the third-party individual after they complete the open banking flow.
21+
*/
22+
"redirectUrl": string;
23+
/**
24+
* A value that helps you identify the request in callback handling. You can generate this value on a per-session basis to protect the callback against Cross-Site Request Forgery (CSRF) attacks. This value must be composed of characters that can be successfully URL-encoded.
25+
*/
26+
"state"?: string;
27+
28+
static readonly discriminator: string | undefined = undefined;
29+
30+
static readonly mapping: {[index: string]: string} | undefined = undefined;
31+
32+
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
33+
{
34+
"name": "country",
35+
"baseName": "country",
36+
"type": "AccountVerificationCountry",
37+
"format": ""
38+
},
39+
{
40+
"name": "locale",
41+
"baseName": "locale",
42+
"type": "string",
43+
"format": ""
44+
},
45+
{
46+
"name": "redirectUrl",
47+
"baseName": "redirectUrl",
48+
"type": "string",
49+
"format": "url"
50+
},
51+
{
52+
"name": "state",
53+
"baseName": "state",
54+
"type": "string",
55+
"format": ""
56+
} ];
57+
58+
static getAttributeTypeMap() {
59+
return AccountVerificationRoutesRequest.attributeTypeMap;
60+
}
61+
62+
public constructor() {
63+
}
64+
}
65+
66+
export namespace AccountVerificationRoutesRequest {
67+
}
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
/*
2+
* The version of the OpenAPI document: v1
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+
import { Route } from "./route";
11+
12+
13+
export class AccountVerificationRoutesResponse {
14+
/**
15+
* This array lists available open banking redirection links, each with its associated provider metadata.
16+
*/
17+
"routes": Array<Route>;
18+
19+
static readonly discriminator: string | undefined = undefined;
20+
21+
static readonly mapping: {[index: string]: string} | undefined = undefined;
22+
23+
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
24+
{
25+
"name": "routes",
26+
"baseName": "routes",
27+
"type": "Array<Route>",
28+
"format": ""
29+
} ];
30+
31+
static getAttributeTypeMap() {
32+
return AccountVerificationRoutesResponse.attributeTypeMap;
33+
}
34+
35+
public constructor() {
36+
}
37+
}
38+

0 commit comments

Comments
 (0)