Skip to content

Commit ca7d051

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

12 files changed

Lines changed: 132 additions & 13 deletions

src/typings/transfers/capitalGrant.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@
99

1010
import { Amount } from "./amount";
1111
import { CapitalBalance } from "./capitalBalance";
12-
import { Counterparty } from "./counterparty";
1312
import { Fee } from "./fee";
13+
import { GrantCounterparty } from "./grantCounterparty";
1414
import { Repayment } from "./repayment";
1515

1616

1717
export class CapitalGrant {
1818
"amount"?: Amount | null;
1919
"balances": CapitalBalance;
20-
"counterparty"?: Counterparty | null;
20+
"counterparty"?: GrantCounterparty | null;
2121
"fee"?: Fee | null;
2222
/**
2323
* The identifier of the grant account used for the grant.
@@ -57,7 +57,7 @@ export class CapitalGrant {
5757
{
5858
"name": "counterparty",
5959
"baseName": "counterparty",
60-
"type": "Counterparty | null",
60+
"type": "GrantCounterparty | null",
6161
"format": ""
6262
},
6363
{

src/typings/transfers/capitalGrantInfo.ts

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

10-
import { Counterparty } from "./counterparty";
10+
import { GrantInfoCounterparty } from "./grantInfoCounterparty";
1111

1212

1313
export class CapitalGrantInfo {
14-
"counterparty"?: Counterparty | null;
14+
"counterparty"?: GrantInfoCounterparty | 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 | null",
32+
"type": "GrantInfoCounterparty | null",
3333
"format": ""
3434
},
3535
{

src/typings/transfers/counterparty.ts renamed to src/typings/transfers/grantCounterparty.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
*/
99

1010

11-
export class Counterparty {
11+
export class GrantCounterparty {
1212
/**
13-
* The identifier of the receiving account holder. The payout will default to the primary balance account of this account holder if no `balanceAccountId` is provided.
13+
* The identifier of the receiving account holder.
1414
*/
1515
"accountHolderId"?: string;
1616
/**
@@ -47,7 +47,7 @@ export class Counterparty {
4747
} ];
4848

4949
static getAttributeTypeMap() {
50-
return Counterparty.attributeTypeMap;
50+
return GrantCounterparty.attributeTypeMap;
5151
}
5252

5353
public constructor() {
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: v4
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 GrantInfoCounterparty {
12+
/**
13+
* The identifier of the balance account that belongs to the receiving account holder.
14+
*/
15+
"balanceAccountId"?: string;
16+
/**
17+
* The identifier of the transfer instrument that belongs to the legal entity of the account holder.
18+
*/
19+
"transferInstrumentId"?: 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": "balanceAccountId",
28+
"baseName": "balanceAccountId",
29+
"type": "string",
30+
"format": ""
31+
},
32+
{
33+
"name": "transferInstrumentId",
34+
"baseName": "transferInstrumentId",
35+
"type": "string",
36+
"format": ""
37+
} ];
38+
39+
static getAttributeTypeMap() {
40+
return GrantInfoCounterparty.attributeTypeMap;
41+
}
42+
43+
public constructor() {
44+
}
45+
}
46+
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
/*
2+
* The version of the OpenAPI document: v4
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 { Amount } from "./amount";
11+
12+
13+
export class InterchangeData {
14+
"interchangeAmount"?: Amount | null;
15+
/**
16+
* A 3-character alphanumeric code assigned by Visa that identifies the specific interchange reimbursement program a transaction qualified for. The code is assigned based on the card type, entry mode, and security data provided.
17+
*/
18+
"interchangeRateIndicator"?: string;
19+
/**
20+
* The type of events data. Possible values: - **interchangeData**: information about the interchange fee applied to a transaction.
21+
*/
22+
"type": InterchangeData.TypeEnum;
23+
24+
static readonly discriminator: string | undefined = undefined;
25+
26+
static readonly mapping: {[index: string]: string} | undefined = undefined;
27+
28+
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
29+
{
30+
"name": "interchangeAmount",
31+
"baseName": "interchangeAmount",
32+
"type": "Amount | null",
33+
"format": ""
34+
},
35+
{
36+
"name": "interchangeRateIndicator",
37+
"baseName": "interchangeRateIndicator",
38+
"type": "string",
39+
"format": ""
40+
},
41+
{
42+
"name": "type",
43+
"baseName": "type",
44+
"type": "InterchangeData.TypeEnum",
45+
"format": ""
46+
} ];
47+
48+
static getAttributeTypeMap() {
49+
return InterchangeData.attributeTypeMap;
50+
}
51+
52+
public constructor() {
53+
}
54+
}
55+
56+
export namespace InterchangeData {
57+
export enum TypeEnum {
58+
InterchangeData = 'interchangeData'
59+
}
60+
}

src/typings/transfers/models.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ export * from "./capitalGrants"
2020
export * from "./card"
2121
export * from "./cardIdentification"
2222
export * from "./confirmationTrackingData"
23-
export * from "./counterparty"
2423
export * from "./counterpartyInfoV3"
2524
export * from "./counterpartyV3"
2625
export * from "./dKLocalAccountIdentification"
@@ -31,9 +30,12 @@ export * from "./externalReason"
3130
export * from "./fee"
3231
export * from "./findTransfersResponse"
3332
export * from "./fundingInstrument"
33+
export * from "./grantCounterparty"
34+
export * from "./grantInfoCounterparty"
3435
export * from "./hKLocalAccountIdentification"
3536
export * from "./hULocalAccountIdentification"
3637
export * from "./ibanAccountIdentification"
38+
export * from "./interchangeData"
3739
export * from "./internalCategoryData"
3840
export * from "./internalReviewTrackingData"
3941
export * from "./invalidField"

src/typings/transfers/modification.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ export namespace Modification {
111111
Failed = 'failed',
112112
Fee = 'fee',
113113
FeePending = 'feePending',
114+
InterchangeAdjusted = 'interchangeAdjusted',
114115
InternalTransfer = 'internalTransfer',
115116
InternalTransferPending = 'internalTransferPending',
116117
InvoiceDeduction = 'invoiceDeduction',

src/typings/transfers/objectSerializer.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ import { CapitalGrants } from "./capitalGrants";
2222
import { Card } from "./card";
2323
import { CardIdentification } from "./cardIdentification";
2424
import { ConfirmationTrackingData } from "./confirmationTrackingData";
25-
import { Counterparty } from "./counterparty";
2625
import { CounterpartyInfoV3 } from "./counterpartyInfoV3";
2726
import { CounterpartyV3 } from "./counterpartyV3";
2827
import { DKLocalAccountIdentification } from "./dKLocalAccountIdentification";
@@ -33,9 +32,12 @@ import { ExternalReason } from "./externalReason";
3332
import { Fee } from "./fee";
3433
import { FindTransfersResponse } from "./findTransfersResponse";
3534
import { FundingInstrument } from "./fundingInstrument";
35+
import { GrantCounterparty } from "./grantCounterparty";
36+
import { GrantInfoCounterparty } from "./grantInfoCounterparty";
3637
import { HKLocalAccountIdentification } from "./hKLocalAccountIdentification";
3738
import { HULocalAccountIdentification } from "./hULocalAccountIdentification";
3839
import { IbanAccountIdentification } from "./ibanAccountIdentification";
40+
import { InterchangeData } from "./interchangeData";
3941
import { InternalCategoryData } from "./internalCategoryData";
4042
import { InternalReviewTrackingData } from "./internalReviewTrackingData";
4143
import { InvalidField } from "./invalidField";
@@ -127,6 +129,7 @@ let enumsMap: Set<string> = new Set<string>([
127129
"HKLocalAccountIdentification.TypeEnum",
128130
"HULocalAccountIdentification.TypeEnum",
129131
"IbanAccountIdentification.TypeEnum",
132+
"InterchangeData.TypeEnum",
130133
"InternalCategoryData.TypeEnum",
131134
"InternalReviewTrackingData.ReasonEnum",
132135
"InternalReviewTrackingData.StatusEnum",
@@ -208,7 +211,6 @@ let typeMap: {[index: string]: any} = {
208211
"Card": Card,
209212
"CardIdentification": CardIdentification,
210213
"ConfirmationTrackingData": ConfirmationTrackingData,
211-
"Counterparty": Counterparty,
212214
"CounterpartyInfoV3": CounterpartyInfoV3,
213215
"CounterpartyV3": CounterpartyV3,
214216
"DKLocalAccountIdentification": DKLocalAccountIdentification,
@@ -219,9 +221,12 @@ let typeMap: {[index: string]: any} = {
219221
"Fee": Fee,
220222
"FindTransfersResponse": FindTransfersResponse,
221223
"FundingInstrument": FundingInstrument,
224+
"GrantCounterparty": GrantCounterparty,
225+
"GrantInfoCounterparty": GrantInfoCounterparty,
222226
"HKLocalAccountIdentification": HKLocalAccountIdentification,
223227
"HULocalAccountIdentification": HULocalAccountIdentification,
224228
"IbanAccountIdentification": IbanAccountIdentification,
229+
"InterchangeData": InterchangeData,
225230
"InternalCategoryData": InternalCategoryData,
226231
"InternalReviewTrackingData": InternalReviewTrackingData,
227232
"InvalidField": InvalidField,

src/typings/transfers/transfer.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,7 @@ export namespace Transfer {
345345
Failed = 'failed',
346346
Fee = 'fee',
347347
FeePending = 'feePending',
348+
InterchangeAdjusted = 'interchangeAdjusted',
348349
InternalTransfer = 'internalTransfer',
349350
InternalTransferPending = 'internalTransferPending',
350351
InvoiceDeduction = 'invoiceDeduction',

src/typings/transfers/transferData.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,7 @@ export namespace TransferData {
431431
Failed = 'failed',
432432
Fee = 'fee',
433433
FeePending = 'feePending',
434+
InterchangeAdjusted = 'interchangeAdjusted',
434435
InternalTransfer = 'internalTransfer',
435436
InternalTransferPending = 'internalTransferPending',
436437
InvoiceDeduction = 'invoiceDeduction',

0 commit comments

Comments
 (0)