Skip to content

Commit 9f3a3c0

Browse files
[configurationwebhooks] Automated update from Adyen/adyen-openapi@3550ecd
1 parent e0c07e0 commit 9f3a3c0

11 files changed

Lines changed: 410 additions & 1 deletion
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"service": "configurationwebhooks",
3+
"project": "node",
4+
"generatedAt": "2026-04-20T10:46:56Z",
5+
"openapiCommitSha": "3550ecd3f320efaad6bee55ffed5122cb9ba09d5",
6+
"automationCommitSha": "4ad0c0c7e87bc0e5994a9a3350a991d0691350bb",
7+
"libraryCommitSha": "e0c07e05d8c98b20f336ef0fa714fe95f4172c2f"
8+
}

src/typings/configurationWebhooks/configurationWebhooksHandler.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ export type GenericWebhook =
1717
| configurationWebhooks.AccountHolderNotificationRequest
1818
| configurationWebhooks.BalanceAccountNotificationRequest
1919
| configurationWebhooks.CardOrderNotificationRequest
20+
| configurationWebhooks.MandateNotificationRequest
2021
| configurationWebhooks.NetworkTokenNotificationRequest
2122
| configurationWebhooks.PaymentNotificationRequest
2223
| configurationWebhooks.ScoreNotificationRequest
@@ -57,6 +58,10 @@ export class ConfigurationWebhooksHandler {
5758
return this.getCardOrderNotificationRequest();
5859
}
5960

61+
if(Object.values(configurationWebhooks.MandateNotificationRequest.TypeEnum).includes(type)) {
62+
return this.getMandateNotificationRequest();
63+
}
64+
6065
if(Object.values(configurationWebhooks.NetworkTokenNotificationRequest.TypeEnum).includes(type)) {
6166
return this.getNetworkTokenNotificationRequest();
6267
}
@@ -104,6 +109,15 @@ export class ConfigurationWebhooksHandler {
104109
return configurationWebhooks.ObjectSerializer.deserialize(this.payload, "CardOrderNotificationRequest");
105110
}
106111

112+
/**
113+
* Deserialize the webhook payload into a MandateNotificationRequest
114+
*
115+
* @returns Deserialized MandateNotificationRequest object.
116+
*/
117+
public getMandateNotificationRequest(): configurationWebhooks.MandateNotificationRequest {
118+
return configurationWebhooks.ObjectSerializer.deserialize(this.payload, "MandateNotificationRequest");
119+
}
120+
107121
/**
108122
* Deserialize the webhook payload into a NetworkTokenNotificationRequest
109123
*
Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
/*
2+
* The version of the OpenAPI document: v2
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 { MandateBankAccount } from "./mandateBankAccount";
11+
12+
13+
export class Mandate {
14+
/**
15+
* The unique identifier of the balance account linked to the payment instrument.
16+
*/
17+
"balanceAccountId"?: string;
18+
"counterparty"?: MandateBankAccount | null;
19+
"createdAt"?: any;
20+
/**
21+
* The unique identifier of the mandate.
22+
*/
23+
"id"?: string;
24+
/**
25+
* The unique identifier of the payment instrument linked to the mandate.
26+
*/
27+
"paymentInstrumentId"?: string;
28+
/**
29+
* The status of the mandate. Possible values: **pending**, **approved**, **cancelled**.
30+
*/
31+
"status"?: Mandate.StatusEnum;
32+
/**
33+
* The type of mandate. Possible value: **bacs**.
34+
*/
35+
"type"?: Mandate.TypeEnum;
36+
"updatedAt"?: any;
37+
38+
static readonly discriminator: string | undefined = undefined;
39+
40+
static readonly mapping: {[index: string]: string} | undefined = undefined;
41+
42+
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
43+
{
44+
"name": "balanceAccountId",
45+
"baseName": "balanceAccountId",
46+
"type": "string",
47+
"format": ""
48+
},
49+
{
50+
"name": "counterparty",
51+
"baseName": "counterparty",
52+
"type": "MandateBankAccount | null",
53+
"format": ""
54+
},
55+
{
56+
"name": "createdAt",
57+
"baseName": "createdAt",
58+
"type": "any",
59+
"format": ""
60+
},
61+
{
62+
"name": "id",
63+
"baseName": "id",
64+
"type": "string",
65+
"format": ""
66+
},
67+
{
68+
"name": "paymentInstrumentId",
69+
"baseName": "paymentInstrumentId",
70+
"type": "string",
71+
"format": ""
72+
},
73+
{
74+
"name": "status",
75+
"baseName": "status",
76+
"type": "Mandate.StatusEnum",
77+
"format": ""
78+
},
79+
{
80+
"name": "type",
81+
"baseName": "type",
82+
"type": "Mandate.TypeEnum",
83+
"format": ""
84+
},
85+
{
86+
"name": "updatedAt",
87+
"baseName": "updatedAt",
88+
"type": "any",
89+
"format": ""
90+
} ];
91+
92+
static getAttributeTypeMap() {
93+
return Mandate.attributeTypeMap;
94+
}
95+
96+
public constructor() {
97+
}
98+
}
99+
100+
export namespace Mandate {
101+
export enum StatusEnum {
102+
Approved = 'approved',
103+
Cancelled = 'cancelled',
104+
Pending = 'pending'
105+
}
106+
export enum TypeEnum {
107+
Bacs = 'bacs'
108+
}
109+
}
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
/*
2+
* The version of the OpenAPI document: v2
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 { MandatePartyIdentification } from "./mandatePartyIdentification";
11+
import { UKLocalMandateAccountIdentification } from "./uKLocalMandateAccountIdentification";
12+
13+
14+
export class MandateBankAccount {
15+
"accountHolder": MandatePartyIdentification;
16+
"accountIdentification": UKLocalMandateAccountIdentification;
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": "accountHolder",
25+
"baseName": "accountHolder",
26+
"type": "MandatePartyIdentification",
27+
"format": ""
28+
},
29+
{
30+
"name": "accountIdentification",
31+
"baseName": "accountIdentification",
32+
"type": "UKLocalMandateAccountIdentification",
33+
"format": ""
34+
} ];
35+
36+
static getAttributeTypeMap() {
37+
return MandateBankAccount.attributeTypeMap;
38+
}
39+
40+
public constructor() {
41+
}
42+
}
43+
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: v2
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 { Mandate } from "./mandate";
11+
12+
13+
export class MandateNotificationData {
14+
/**
15+
* The unique identifier of the balance platform.
16+
*/
17+
"balancePlatform"?: string;
18+
"mandate"?: Mandate | null;
19+
20+
static readonly discriminator: string | undefined = undefined;
21+
22+
static readonly mapping: {[index: string]: string} | undefined = undefined;
23+
24+
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
25+
{
26+
"name": "balancePlatform",
27+
"baseName": "balancePlatform",
28+
"type": "string",
29+
"format": ""
30+
},
31+
{
32+
"name": "mandate",
33+
"baseName": "mandate",
34+
"type": "Mandate | null",
35+
"format": ""
36+
} ];
37+
38+
static getAttributeTypeMap() {
39+
return MandateNotificationData.attributeTypeMap;
40+
}
41+
42+
public constructor() {
43+
}
44+
}
45+
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
/*
2+
* The version of the OpenAPI document: v2
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 { MandateNotificationData } from "./mandateNotificationData";
11+
12+
13+
export class MandateNotificationRequest {
14+
"data": MandateNotificationData;
15+
/**
16+
* The environment from which the webhook originated. Possible values: **test**, **live**.
17+
*/
18+
"environment": string;
19+
/**
20+
* When the event was queued.
21+
*/
22+
"timestamp"?: Date;
23+
/**
24+
* Type of webhook.
25+
*/
26+
"type": MandateNotificationRequest.TypeEnum;
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": "data",
35+
"baseName": "data",
36+
"type": "MandateNotificationData",
37+
"format": ""
38+
},
39+
{
40+
"name": "environment",
41+
"baseName": "environment",
42+
"type": "string",
43+
"format": ""
44+
},
45+
{
46+
"name": "timestamp",
47+
"baseName": "timestamp",
48+
"type": "Date",
49+
"format": "date-time"
50+
},
51+
{
52+
"name": "type",
53+
"baseName": "type",
54+
"type": "MandateNotificationRequest.TypeEnum",
55+
"format": ""
56+
} ];
57+
58+
static getAttributeTypeMap() {
59+
return MandateNotificationRequest.attributeTypeMap;
60+
}
61+
62+
public constructor() {
63+
}
64+
}
65+
66+
export namespace MandateNotificationRequest {
67+
export enum TypeEnum {
68+
BalancePlatformMandateCreated = 'balancePlatform.mandate.created',
69+
BalancePlatformMandateUpdated = 'balancePlatform.mandate.updated'
70+
}
71+
}
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
/*
2+
* The version of the OpenAPI document: v2
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 MandatePartyIdentification {
12+
/**
13+
* The full name of the entity that owns the bank account. Supported characters: [a-z] [A-Z] [0-9] , . ; : - — / \\ + & ! ? @ ( ) \" \' and space.
14+
*/
15+
"fullName"?: string;
16+
17+
static readonly discriminator: string | undefined = undefined;
18+
19+
static readonly mapping: {[index: string]: string} | undefined = undefined;
20+
21+
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
22+
{
23+
"name": "fullName",
24+
"baseName": "fullName",
25+
"type": "string",
26+
"format": ""
27+
} ];
28+
29+
static getAttributeTypeMap() {
30+
return MandatePartyIdentification.attributeTypeMap;
31+
}
32+
33+
public constructor() {
34+
}
35+
}
36+

src/typings/configurationWebhooks/models.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ export * from "./deliveryContact"
2929
export * from "./device"
3030
export * from "./expiry"
3131
export * from "./ibanAccountIdentification"
32+
export * from "./mandate"
33+
export * from "./mandateBankAccount"
34+
export * from "./mandateNotificationData"
35+
export * from "./mandateNotificationRequest"
36+
export * from "./mandatePartyIdentification"
3237
export * from "./name"
3338
export * from "./networkTokenNotificationDataV2"
3439
export * from "./networkTokenNotificationRequest"
@@ -54,6 +59,7 @@ export * from "./sweepConfigurationV2"
5459
export * from "./sweepCounterparty"
5560
export * from "./sweepSchedule"
5661
export * from "./tokenAuthentication"
62+
export * from "./uKLocalMandateAccountIdentification"
5763
export * from "./validationFacts"
5864
export * from "./verificationDeadline"
5965
export * from "./verificationError"

0 commit comments

Comments
 (0)