Skip to content

Commit f08dca9

Browse files
committed
Generate Management API models
1 parent 6cca0dd commit f08dca9

16 files changed

+164
-56
lines changed

src/typings/management/afterpayTouchInfo.ts

+9
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99

1010

1111
export class AfterpayTouchInfo {
12+
/**
13+
* Support Email
14+
*/
15+
'supportEmail'?: string;
1216
/**
1317
* Support Url
1418
*/
@@ -17,6 +21,11 @@ export class AfterpayTouchInfo {
1721
static discriminator: string | undefined = undefined;
1822

1923
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
24+
{
25+
"name": "supportEmail",
26+
"baseName": "supportEmail",
27+
"type": "string"
28+
},
2029
{
2130
"name": "supportUrl",
2231
"baseName": "supportUrl",

src/typings/management/createCompanyWebhookRequest.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export class CreateCompanyWebhookRequest {
6060
*/
6161
'populateSoapActionHeader'?: boolean;
6262
/**
63-
* The type of webhook that is being created. Possible values are: - **standard** - **account-settings-notification** - **banktransfer-notification** - **boletobancario-notification** - **directdebit-notification** - **ach-notification-of-change-notification** - **pending-notification** - **ideal-notification** - **ideal-pending-notification** - **report-notification** - **rreq-notification** - **terminal-settings** - **terminal-boarding** Find out more about [standard notification webhooks](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes) and [other types of notifications](https://docs.adyen.com/development-resources/webhooks/understand-notifications#other-notifications).
63+
* The type of webhook that is being created. Possible values are: - **standard** - **account-settings-notification** - **banktransfer-notification** - **boletobancario-notification** - **directdebit-notification** - **ach-notification-of-change-notification** - **direct-debit-notice-of-change** - **pending-notification** - **ideal-notification** - **ideal-pending-notification** - **report-notification** - **rreq-notification** - **terminal-settings** - **terminal-boarding** Find out more about [standard notification webhooks](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes) and [other types of notifications](https://docs.adyen.com/development-resources/webhooks/understand-notifications#other-notifications).
6464
*/
6565
'type': string;
6666
/**

src/typings/management/createMerchantWebhookRequest.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export class CreateMerchantWebhookRequest {
5252
*/
5353
'populateSoapActionHeader'?: boolean;
5454
/**
55-
* The type of webhook that is being created. Possible values are: - **standard** - **account-settings-notification** - **banktransfer-notification** - **boletobancario-notification** - **directdebit-notification** - **ach-notification-of-change-notification** - **pending-notification** - **ideal-notification** - **ideal-pending-notification** - **report-notification** - **rreq-notification** - **terminal-settings** - **terminal-boarding** Find out more about [standard notification webhooks](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes) and [other types of notifications](https://docs.adyen.com/development-resources/webhooks/understand-notifications#other-notifications).
55+
* The type of webhook that is being created. Possible values are: - **standard** - **account-settings-notification** - **banktransfer-notification** - **boletobancario-notification** - **directdebit-notification** - **ach-notification-of-change-notification** - **direct-debit-notice-of-change** - **pending-notification** - **ideal-notification** - **ideal-pending-notification** - **report-notification** - **rreq-notification** - **terminal-settings** - **terminal-boarding** Find out more about [standard notification webhooks](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes) and [other types of notifications](https://docs.adyen.com/development-resources/webhooks/understand-notifications#other-notifications).
5656
*/
5757
'type': string;
5858
/**

src/typings/management/giroPayInfo.ts

-30
This file was deleted.

src/typings/management/jCBInfo.ts

+4-3
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ import { TransactionDescriptionInfo } from './transactionDescriptionInfo';
1111

1212
export class JCBInfo {
1313
/**
14-
* MID (Merchant ID) number. Required for merchants operating in Japan.Format: 14 numeric characters.
14+
* MID (Merchant ID) number. Required for merchants operating in Japan or merchants operating in Canada, Australia and New Zealand when requesting `gatewayContract` or `paymentDesignatorContract` service levels.Format: 14 numeric characters for Japan, 10 numeric characters for Canada, Australia and New Zealand.
1515
*/
1616
'midNumber'?: string;
1717
/**
1818
* Indicates whether the JCB Merchant ID is reused from a previously setup JCB payment method. The default value is **false**.For merchants operating in Japan, this field is required and must be set to **true**.
1919
*/
2020
'reuseMidNumber'?: boolean;
2121
/**
22-
* Specifies the service level (settlement type) of this payment method. Required for merchants operating in Japan. Possible values: * **noContract**: Adyen holds the contract with JCB. * **gatewayContract**: JCB receives the settlement and handles disputes, then pays out to you or your sub-merchant directly.
22+
* Specifies the service level (settlement type) of this payment method. Required for merchants operating in Japan. Possible values: * **noContract**: Adyen holds the contract with JCB for merchants operating in Japan or American Express for merchants operating in Canada, Australia and New Zealand. * **gatewayContract**: JCB or American Express receives the settlement and handles disputes, then pays out to you or your sub-merchant directly. * **paymentDesignatorContract**: Available only for merchants operating in Canada, Australia and New Zealand. Adyen receives the settlement, and handles disputes and payouts.
2323
*/
2424
'serviceLevel'?: JCBInfo.ServiceLevelEnum;
2525
'transactionDescription'?: TransactionDescriptionInfo | null;
@@ -56,6 +56,7 @@ export class JCBInfo {
5656
export namespace JCBInfo {
5757
export enum ServiceLevelEnum {
5858
NoContract = 'noContract',
59-
GatewayContract = 'gatewayContract'
59+
GatewayContract = 'gatewayContract',
60+
PaymentDesignatorContract = 'paymentDesignatorContract'
6061
}
6162
}

src/typings/management/models.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ export * from './generateApiKeyResponse';
6464
export * from './generateClientKeyResponse';
6565
export * from './generateHmacKeyResponse';
6666
export * from './genericPmWithTdiInfo';
67-
export * from './giroPayInfo';
6867
export * from './googlePayInfo';
6968
export * from './gratuity';
7069
export * from './hardware';
@@ -107,6 +106,7 @@ export * from './orderItem';
107106
export * from './paginationLinks';
108107
export * from './passcodes';
109108
export * from './payAtTable';
109+
export * from './payByBankPlaidInfo';
110110
export * from './payMeInfo';
111111
export * from './payPalInfo';
112112
export * from './payToInfo';
@@ -261,7 +261,6 @@ import { GenerateApiKeyResponse } from './generateApiKeyResponse';
261261
import { GenerateClientKeyResponse } from './generateClientKeyResponse';
262262
import { GenerateHmacKeyResponse } from './generateHmacKeyResponse';
263263
import { GenericPmWithTdiInfo } from './genericPmWithTdiInfo';
264-
import { GiroPayInfo } from './giroPayInfo';
265264
import { GooglePayInfo } from './googlePayInfo';
266265
import { Gratuity } from './gratuity';
267266
import { Hardware } from './hardware';
@@ -304,6 +303,7 @@ import { OrderItem } from './orderItem';
304303
import { PaginationLinks } from './paginationLinks';
305304
import { Passcodes } from './passcodes';
306305
import { PayAtTable } from './payAtTable';
306+
import { PayByBankPlaidInfo } from './payByBankPlaidInfo';
307307
import { PayMeInfo } from './payMeInfo';
308308
import { PayPalInfo } from './payPalInfo';
309309
import { PayToInfo } from './payToInfo';
@@ -550,7 +550,6 @@ let typeMap: {[index: string]: any} = {
550550
"GenerateClientKeyResponse": GenerateClientKeyResponse,
551551
"GenerateHmacKeyResponse": GenerateHmacKeyResponse,
552552
"GenericPmWithTdiInfo": GenericPmWithTdiInfo,
553-
"GiroPayInfo": GiroPayInfo,
554553
"GooglePayInfo": GooglePayInfo,
555554
"Gratuity": Gratuity,
556555
"Hardware": Hardware,
@@ -593,6 +592,7 @@ let typeMap: {[index: string]: any} = {
593592
"PaginationLinks": PaginationLinks,
594593
"Passcodes": Passcodes,
595594
"PayAtTable": PayAtTable,
595+
"PayByBankPlaidInfo": PayByBankPlaidInfo,
596596
"PayMeInfo": PayMeInfo,
597597
"PayPalInfo": PayPalInfo,
598598
"PayToInfo": PayToInfo,
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
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+
import { TransactionDescriptionInfo } from './transactionDescriptionInfo';
11+
12+
export class PayByBankPlaidInfo {
13+
/**
14+
* Country Code.
15+
*/
16+
'countryCode'?: string;
17+
/**
18+
* Merchant logo (max. size 150kB). Format: Base64-encoded string.
19+
*/
20+
'logo'?: string;
21+
/**
22+
* The city the merchant is doing business in.
23+
*/
24+
'merchantCity'?: string;
25+
/**
26+
* Legal Business Name of the Merchant.
27+
*/
28+
'merchantLegalName'?: string;
29+
/**
30+
* Merchant shop url.
31+
*/
32+
'merchantShopUrl'?: string;
33+
/**
34+
* The state/province of the merchant.
35+
*/
36+
'merchantStateProvince'?: string;
37+
/**
38+
* The street address of the merchant.
39+
*/
40+
'merchantStreetAddress'?: string;
41+
'transactionDescription'?: TransactionDescriptionInfo | null;
42+
/**
43+
* The zip code of the account.
44+
*/
45+
'zipCode'?: string;
46+
47+
static discriminator: string | undefined = undefined;
48+
49+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
50+
{
51+
"name": "countryCode",
52+
"baseName": "countryCode",
53+
"type": "string"
54+
},
55+
{
56+
"name": "logo",
57+
"baseName": "logo",
58+
"type": "string"
59+
},
60+
{
61+
"name": "merchantCity",
62+
"baseName": "merchantCity",
63+
"type": "string"
64+
},
65+
{
66+
"name": "merchantLegalName",
67+
"baseName": "merchantLegalName",
68+
"type": "string"
69+
},
70+
{
71+
"name": "merchantShopUrl",
72+
"baseName": "merchantShopUrl",
73+
"type": "string"
74+
},
75+
{
76+
"name": "merchantStateProvince",
77+
"baseName": "merchantStateProvince",
78+
"type": "string"
79+
},
80+
{
81+
"name": "merchantStreetAddress",
82+
"baseName": "merchantStreetAddress",
83+
"type": "string"
84+
},
85+
{
86+
"name": "transactionDescription",
87+
"baseName": "transactionDescription",
88+
"type": "TransactionDescriptionInfo | null"
89+
},
90+
{
91+
"name": "zipCode",
92+
"baseName": "zipCode",
93+
"type": "string"
94+
} ];
95+
96+
static getAttributeTypeMap() {
97+
return PayByBankPlaidInfo.attributeTypeMap;
98+
}
99+
}
100+

src/typings/management/paymentMethod.ts

+7-7
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ import { CartesBancairesInfo } from './cartesBancairesInfo';
1717
import { ClearpayInfo } from './clearpayInfo';
1818
import { DinersInfo } from './dinersInfo';
1919
import { GenericPmWithTdiInfo } from './genericPmWithTdiInfo';
20-
import { GiroPayInfo } from './giroPayInfo';
2120
import { GooglePayInfo } from './googlePayInfo';
2221
import { JCBInfo } from './jCBInfo';
2322
import { KlarnaInfo } from './klarnaInfo';
2423
import { MealVoucherFRInfo } from './mealVoucherFRInfo';
2524
import { NyceInfo } from './nyceInfo';
25+
import { PayByBankPlaidInfo } from './payByBankPlaidInfo';
2626
import { PayMeInfo } from './payMeInfo';
2727
import { PayPalInfo } from './payPalInfo';
2828
import { PayToInfo } from './payToInfo';
@@ -75,7 +75,6 @@ export class PaymentMethod {
7575
* Indicates whether the payment method is enabled (**true**) or disabled (**false**).
7676
*/
7777
'enabled'?: boolean;
78-
'giroPay'?: GiroPayInfo | null;
7978
'girocard'?: GenericPmWithTdiInfo | null;
8079
'googlePay'?: GooglePayInfo | null;
8180
/**
@@ -90,6 +89,7 @@ export class PaymentMethod {
9089
'mc'?: GenericPmWithTdiInfo | null;
9190
'mealVoucher_FR'?: MealVoucherFRInfo | null;
9291
'nyce'?: NyceInfo | null;
92+
'paybybank_plaid'?: PayByBankPlaidInfo | null;
9393
'payme'?: PayMeInfo | null;
9494
'paypal'?: PayPalInfo | null;
9595
'payto'?: PayToInfo | null;
@@ -223,11 +223,6 @@ export class PaymentMethod {
223223
"baseName": "enabled",
224224
"type": "boolean"
225225
},
226-
{
227-
"name": "giroPay",
228-
"baseName": "giroPay",
229-
"type": "GiroPayInfo | null"
230-
},
231226
{
232227
"name": "girocard",
233228
"baseName": "girocard",
@@ -283,6 +278,11 @@ export class PaymentMethod {
283278
"baseName": "nyce",
284279
"type": "NyceInfo | null"
285280
},
281+
{
282+
"name": "paybybank_plaid",
283+
"baseName": "paybybank_plaid",
284+
"type": "PayByBankPlaidInfo | null"
285+
},
286286
{
287287
"name": "payme",
288288
"baseName": "payme",

src/typings/management/paymentMethodResponse.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,12 +117,12 @@ export namespace PaymentMethodResponse {
117117
Nyce = 'nyce',
118118
OnlineBankingPl = 'onlineBanking_PL',
119119
Paybybank = 'paybybank',
120+
PaybybankPlaid = 'paybybank_plaid',
120121
Payme = 'payme',
121122
PaymePos = 'payme_pos',
122123
Paynow = 'paynow',
123124
PaynowPos = 'paynow_pos',
124125
Paypal = 'paypal',
125-
Payshop = 'payshop',
126126
Payto = 'payto',
127127
Pulse = 'pulse',
128128
Sodexo = 'sodexo',

src/typings/management/paymentMethodSetupInfo.ts

+8-8
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ import { CartesBancairesInfo } from './cartesBancairesInfo';
1717
import { ClearpayInfo } from './clearpayInfo';
1818
import { DinersInfo } from './dinersInfo';
1919
import { GenericPmWithTdiInfo } from './genericPmWithTdiInfo';
20-
import { GiroPayInfo } from './giroPayInfo';
2120
import { GooglePayInfo } from './googlePayInfo';
2221
import { JCBInfo } from './jCBInfo';
2322
import { KlarnaInfo } from './klarnaInfo';
2423
import { MealVoucherFRInfo } from './mealVoucherFRInfo';
2524
import { NyceInfo } from './nyceInfo';
25+
import { PayByBankPlaidInfo } from './payByBankPlaidInfo';
2626
import { PayMeInfo } from './payMeInfo';
2727
import { PayPalInfo } from './payPalInfo';
2828
import { PayToInfo } from './payToInfo';
@@ -67,7 +67,6 @@ export class PaymentMethodSetupInfo {
6767
'discover'?: GenericPmWithTdiInfo | null;
6868
'eft_directdebit_CA'?: GenericPmWithTdiInfo | null;
6969
'eftpos_australia'?: GenericPmWithTdiInfo | null;
70-
'giroPay'?: GiroPayInfo | null;
7170
'girocard'?: GenericPmWithTdiInfo | null;
7271
'googlePay'?: GooglePayInfo | null;
7372
'ideal'?: GenericPmWithTdiInfo | null;
@@ -78,6 +77,7 @@ export class PaymentMethodSetupInfo {
7877
'mc'?: GenericPmWithTdiInfo | null;
7978
'mealVoucher_FR'?: MealVoucherFRInfo | null;
8079
'nyce'?: NyceInfo | null;
80+
'paybybank_plaid'?: PayByBankPlaidInfo | null;
8181
'payme'?: PayMeInfo | null;
8282
'paypal'?: PayPalInfo | null;
8383
'payto'?: PayToInfo | null;
@@ -197,11 +197,6 @@ export class PaymentMethodSetupInfo {
197197
"baseName": "eftpos_australia",
198198
"type": "GenericPmWithTdiInfo | null"
199199
},
200-
{
201-
"name": "giroPay",
202-
"baseName": "giroPay",
203-
"type": "GiroPayInfo | null"
204-
},
205200
{
206201
"name": "girocard",
207202
"baseName": "girocard",
@@ -252,6 +247,11 @@ export class PaymentMethodSetupInfo {
252247
"baseName": "nyce",
253248
"type": "NyceInfo | null"
254249
},
250+
{
251+
"name": "paybybank_plaid",
252+
"baseName": "paybybank_plaid",
253+
"type": "PayByBankPlaidInfo | null"
254+
},
255255
{
256256
"name": "payme",
257257
"baseName": "payme",
@@ -408,12 +408,12 @@ export namespace PaymentMethodSetupInfo {
408408
Nyce = 'nyce',
409409
OnlineBankingPl = 'onlineBanking_PL',
410410
Paybybank = 'paybybank',
411+
PaybybankPlaid = 'paybybank_plaid',
411412
Payme = 'payme',
412413
PaymePos = 'payme_pos',
413414
Paynow = 'paynow',
414415
PaynowPos = 'paynow_pos',
415416
Paypal = 'paypal',
416-
Payshop = 'payshop',
417417
Payto = 'payto',
418418
Pulse = 'pulse',
419419
Sodexo = 'sodexo',

0 commit comments

Comments
 (0)