Skip to content

Commit d706efc

Browse files
committed
Generate Transfers
1 parent 27e05b0 commit d706efc

23 files changed

+114
-114
lines changed

src/typings/transfers/amountAdjustment.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { Amount } from "./amount";
1111

1212

1313
export class AmountAdjustment {
14-
"amount"?: Amount;
14+
"amount"?: Amount | null;
1515
/**
1616
* The type of markup that is applied to an authorised payment. Possible values: **exchange**, **forexMarkup**, **authHoldReserve**, **atmMarkup**.
1717
*/
@@ -29,7 +29,7 @@ export class AmountAdjustment {
2929
{
3030
"name": "amount",
3131
"baseName": "amount",
32-
"type": "Amount",
32+
"type": "Amount | null",
3333
"format": ""
3434
},
3535
{

src/typings/transfers/capitalGrant.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ import { Repayment } from "./repayment";
1515

1616

1717
export class CapitalGrant {
18-
"amount"?: Amount;
18+
"amount"?: Amount | null;
1919
"balances": CapitalBalance;
20-
"counterparty"?: Counterparty;
21-
"fee"?: Fee;
20+
"counterparty"?: Counterparty | null;
21+
"fee"?: Fee | null;
2222
/**
2323
* The identifier of the grant account used for the grant.
2424
*/
@@ -31,7 +31,7 @@ export class CapitalGrant {
3131
* The identifier of the grant reference.
3232
*/
3333
"id": string;
34-
"repayment"?: Repayment;
34+
"repayment"?: Repayment | null;
3535
/**
3636
* The current status of the grant. Possible values: **Pending**, **Active**, **Repaid**, **WrittenOff**, **Failed**, **Revoked**.
3737
*/
@@ -45,7 +45,7 @@ export class CapitalGrant {
4545
{
4646
"name": "amount",
4747
"baseName": "amount",
48-
"type": "Amount",
48+
"type": "Amount | null",
4949
"format": ""
5050
},
5151
{
@@ -57,13 +57,13 @@ export class CapitalGrant {
5757
{
5858
"name": "counterparty",
5959
"baseName": "counterparty",
60-
"type": "Counterparty",
60+
"type": "Counterparty | null",
6161
"format": ""
6262
},
6363
{
6464
"name": "fee",
6565
"baseName": "fee",
66-
"type": "Fee",
66+
"type": "Fee | null",
6767
"format": ""
6868
},
6969
{
@@ -87,7 +87,7 @@ export class CapitalGrant {
8787
{
8888
"name": "repayment",
8989
"baseName": "repayment",
90-
"type": "Repayment",
90+
"type": "Repayment | null",
9191
"format": ""
9292
},
9393
{

src/typings/transfers/capitalGrantInfo.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { Counterparty } from "./counterparty";
1111

1212

1313
export class CapitalGrantInfo {
14-
"counterparty"?: Counterparty;
14+
"counterparty"?: Counterparty | null;
1515
/**
1616
* The identifier of the grant account used for the grant.
1717
*/
@@ -29,7 +29,7 @@ export class CapitalGrantInfo {
2929
{
3030
"name": "counterparty",
3131
"baseName": "counterparty",
32-
"type": "Counterparty",
32+
"type": "Counterparty | null",
3333
"format": ""
3434
},
3535
{

src/typings/transfers/counterpartyInfoV3.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ export class CounterpartyInfoV3 {
1616
* The unique identifier of the counterparty [balance account](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/balanceAccounts#responses-200-id).
1717
*/
1818
"balanceAccountId"?: string;
19-
"bankAccount"?: BankAccountV3;
20-
"card"?: Card;
19+
"bankAccount"?: BankAccountV3 | null;
20+
"card"?: Card | null;
2121
/**
2222
* The unique identifier of the counterparty [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments#responses-200-id).
2323
*/
@@ -37,13 +37,13 @@ export class CounterpartyInfoV3 {
3737
{
3838
"name": "bankAccount",
3939
"baseName": "bankAccount",
40-
"type": "BankAccountV3",
40+
"type": "BankAccountV3 | null",
4141
"format": ""
4242
},
4343
{
4444
"name": "card",
4545
"baseName": "card",
46-
"type": "Card",
46+
"type": "Card | null",
4747
"format": ""
4848
},
4949
{

src/typings/transfers/counterpartyV3.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ export class CounterpartyV3 {
1717
* The unique identifier of the counterparty [balance account](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/balanceAccounts#responses-200-id).
1818
*/
1919
"balanceAccountId"?: string;
20-
"bankAccount"?: BankAccountV3;
21-
"card"?: Card;
22-
"merchant"?: MerchantData;
20+
"bankAccount"?: BankAccountV3 | null;
21+
"card"?: Card | null;
22+
"merchant"?: MerchantData | null;
2323
/**
2424
* The unique identifier of the counterparty [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments#responses-200-id).
2525
*/
@@ -39,19 +39,19 @@ export class CounterpartyV3 {
3939
{
4040
"name": "bankAccount",
4141
"baseName": "bankAccount",
42-
"type": "BankAccountV3",
42+
"type": "BankAccountV3 | null",
4343
"format": ""
4444
},
4545
{
4646
"name": "card",
4747
"baseName": "card",
48-
"type": "Card",
48+
"type": "Card | null",
4949
"format": ""
5050
},
5151
{
5252
"name": "merchant",
5353
"baseName": "merchant",
54-
"type": "MerchantData",
54+
"type": "MerchantData | null",
5555
"format": ""
5656
},
5757
{

src/typings/transfers/findTransfersResponse.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { TransferData } from "./transferData";
1212

1313

1414
export class FindTransfersResponse {
15-
"_links"?: Links;
15+
"_links"?: Links | null;
1616
/**
1717
* Contains the transfers that match the query parameters.
1818
*/
@@ -26,7 +26,7 @@ export class FindTransfersResponse {
2626
{
2727
"name": "_links",
2828
"baseName": "_links",
29-
"type": "Links",
29+
"type": "Links | null",
3030
"format": ""
3131
},
3232
{

src/typings/transfers/issuedCard.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export class IssuedCard {
2424
* Contains information about how the payment was processed. For example, **ecommerce** for online or **pos** for in-person payments.
2525
*/
2626
"processingType"?: IssuedCard.ProcessingTypeEnum;
27-
"relayedAuthorisationData"?: RelayedAuthorisationData;
27+
"relayedAuthorisationData"?: RelayedAuthorisationData | null;
2828
/**
2929
* The identifier of the original payment. This ID is provided by the scheme and can be alphanumeric or numeric, depending on the scheme. The `schemeTraceID` should refer to an original `schemeUniqueTransactionID` provided in an earlier payment (not necessarily processed by Adyen). A `schemeTraceId` is typically available for authorization adjustments or recurring payments.
3030
*/
@@ -68,7 +68,7 @@ export class IssuedCard {
6868
{
6969
"name": "relayedAuthorisationData",
7070
"baseName": "relayedAuthorisationData",
71-
"type": "RelayedAuthorisationData",
71+
"type": "RelayedAuthorisationData | null",
7272
"format": ""
7373
},
7474
{

src/typings/transfers/links.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import { Link } from "./link";
1111

1212

1313
export class Links {
14-
"next"?: Link;
15-
"prev"?: Link;
14+
"next"?: Link | null;
15+
"prev"?: Link | null;
1616

1717
static readonly discriminator: string | undefined = undefined;
1818

@@ -22,13 +22,13 @@ export class Links {
2222
{
2323
"name": "next",
2424
"baseName": "next",
25-
"type": "Link",
25+
"type": "Link | null",
2626
"format": ""
2727
},
2828
{
2929
"name": "prev",
3030
"baseName": "prev",
31-
"type": "Link",
31+
"type": "Link | null",
3232
"format": ""
3333
} ];
3434

src/typings/transfers/merchantData.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export class MerchantData {
2323
* The unique identifier of the merchant.
2424
*/
2525
"merchantId"?: string;
26-
"nameLocation"?: NameLocation;
26+
"nameLocation"?: NameLocation | null;
2727
/**
2828
* The postal code of the merchant.
2929
*/
@@ -55,7 +55,7 @@ export class MerchantData {
5555
{
5656
"name": "nameLocation",
5757
"baseName": "nameLocation",
58-
"type": "NameLocation",
58+
"type": "NameLocation | null",
5959
"format": ""
6060
},
6161
{

src/typings/transfers/merchantPurchaseData.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { Lodging } from "./lodging";
1212

1313

1414
export class MerchantPurchaseData {
15-
"airline"?: Airline;
15+
"airline"?: Airline | null;
1616
/**
1717
* Lodging information.
1818
*/
@@ -30,7 +30,7 @@ export class MerchantPurchaseData {
3030
{
3131
"name": "airline",
3232
"baseName": "airline",
33-
"type": "Airline",
33+
"type": "Airline | null",
3434
"format": ""
3535
},
3636
{

0 commit comments

Comments
 (0)