Skip to content

Commit 85eaea6

Browse files
AdyenAutomationBotAdyenAutomationBotayodejidev
authored
Code generation: update services and models (#1535)
* [reformat][adyen-sdk-automation] automated change * style(fmt): code formatted * Revert TransferDataTrackingClass changes --------- Co-authored-by: AdyenAutomationBot <AdyenAutomationBot [email protected]> Co-authored-by: Ayodeji Ogundare <[email protected]>
1 parent 4209400 commit 85eaea6

File tree

63 files changed

+481
-46
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+481
-46
lines changed

src/services/balancePlatform/paymentInstrumentsApi.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@ export class PaymentInstrumentsApi extends Service {
4141
}
4242

4343
/**
44-
* @summary Create network token activation data
44+
* @summary Create network token provisioning data
4545
* @param id {@link string } The unique identifier of the payment instrument.
4646
* @param networkTokenActivationDataRequest {@link NetworkTokenActivationDataRequest }
4747
* @param requestOptions {@link IRequest.Options }
4848
* @return {@link NetworkTokenActivationDataResponse }
4949
*/
50-
public async createNetworkTokenActivationData(id: string, networkTokenActivationDataRequest: NetworkTokenActivationDataRequest, requestOptions?: IRequest.Options): Promise<NetworkTokenActivationDataResponse> {
50+
public async createNetworkTokenProvisioningData(id: string, networkTokenActivationDataRequest: NetworkTokenActivationDataRequest, requestOptions?: IRequest.Options): Promise<NetworkTokenActivationDataResponse> {
5151
const endpoint = `${this.baseUrl}/paymentInstruments/{id}/networkTokenActivationData`
5252
.replace("{" + "id" + "}", encodeURIComponent(String(id)));
5353
const resource = new Resource(this, endpoint);

src/services/transfers/transactionsApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export class TransactionsApi extends Service {
4141
* @param accountHolderId {@link string } The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/accountHolders/{id}__queryParam_id). Required if you don\&#39;t provide a &#x60;balanceAccountId&#x60; or &#x60;balancePlatform&#x60;. If you provide a &#x60;balanceAccountId&#x60;, the &#x60;accountHolderId&#x60; must be related to the &#x60;balanceAccountId&#x60;.
4242
* @param balanceAccountId {@link string } The unique identifier of the [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balanceAccounts/{id}__queryParam_id). Required if you don\&#39;t provide an &#x60;accountHolderId&#x60; or &#x60;balancePlatform&#x60;. If you provide an &#x60;accountHolderId&#x60;, the &#x60;balanceAccountId&#x60; must be related to the &#x60;accountHolderId&#x60;.
4343
* @param cursor {@link string } The &#x60;cursor&#x60; returned in the links of the previous response.
44-
* @param sortOrder {@link &#39;asc&#39; | &#39;desc&#39; } The transactions sorting order. Possible values: - **asc**: Ascending order, from older to most recent. - **desc**: Descending order, from most recent to older.
44+
* @param sortOrder {@link &#39;asc&#39; | &#39;desc&#39; } Determines the sort order of the returned transactions. The sort order is based on the creation date of the transaction. Possible values: - **asc**: Ascending order, from oldest to most recent. - **desc**: Descending order, from most recent to oldest. Default value: **asc**.
4545
* @param limit {@link number } The number of items returned per page, maximum of 100 items. By default, the response returns 10 items per page.
4646
* @return {@link TransactionSearchResponse }
4747
*/

src/services/transfers/transfersApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export class TransfersApi extends Service {
8484
* @param paymentInstrumentId {@link string } The unique identifier of the [payment instrument](https://docs.adyen.com/api-explorer/balanceplatform/latest/get/paymentInstruments/_id_). To use this parameter, you must also provide a &#x60;balanceAccountId&#x60;, &#x60;accountHolderId&#x60;, or &#x60;balancePlatform&#x60;. The &#x60;paymentInstrumentId&#x60; must be related to the &#x60;balanceAccountId&#x60; or &#x60;accountHolderId&#x60; that you provide.
8585
* @param reference {@link string } The reference you provided in the POST [/transfers](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers) request
8686
* @param category {@link &#39;bank&#39; | &#39;card&#39; | &#39;grants&#39; | &#39;interest&#39; | &#39;internal&#39; | &#39;issuedCard&#39; | &#39;migration&#39; | &#39;platformPayment&#39; | &#39;topUp&#39; | &#39;upgrade&#39; } The type of transfer. Possible values: - **bank**: Transfer to a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id) or a bank account. - **internal**: Transfer to another [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id) within your platform. - **issuedCard**: Transfer initiated by a Adyen-issued card. - **platformPayment**: Fund movements related to payments that are acquired for your users.
87-
* @param sortOrder {@link &#39;asc&#39; | &#39;desc&#39; } The transfers sorting order. Possible values: - **asc**: Ascending order, from older to most recent. - **desc**: Descending order, from most recent to older.
87+
* @param sortOrder {@link &#39;asc&#39; | &#39;desc&#39; } Determines the sort order of the returned transfers. The sort order is based on the creation date of the transfers. Possible values: - **asc**: Ascending order, from oldest to most recent. - **desc**: Descending order, from most recent to oldest. Default value: **asc**.
8888
* @param cursor {@link string } The &#x60;cursor&#x60; returned in the links of the previous response.
8989
* @param limit {@link number } The number of items returned per page, maximum of 100 items. By default, the response returns 10 items per page.
9090
* @return {@link FindTransfersResponse }

src/typings/acsWebhooks/balancePlatformNotificationResponse.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
export class BalancePlatformNotificationResponse {
1212
/**
13-
* Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks#accept-notifications).
13+
* Respond with any **2xx** HTTP status code to [accept the webhook](https://docs.adyen.com/development-resources/webhooks/#accept-webhooks).
1414
*/
1515
"notificationResponse"?: string;
1616

src/typings/acsWebhooks/resource.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export class Resource {
1414
*/
1515
"balancePlatform"?: string;
1616
/**
17-
* The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**.
17+
* The date and time when the event was triggered, in ISO 8601 extended format. For example, **2025-03-19T10:15:30+01:00**.
1818
*/
1919
"creationDate"?: Date;
2020
/**
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: 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 AdditionalBankIdentificationRequirement {
12+
/**
13+
* The type of additional bank identification, depending on the country. Possible values: * **auBsbCode**: The 6-digit [Australian Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or spaces. * **caRoutingNumber**: The 9-digit [Canadian routing number](https://en.wikipedia.org/wiki/Routing_number_(Canada)), in EFT format, without separators or spaces. * **gbSortCode**: The 6-digit [UK sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or spaces * **usRoutingNumber**: The 9-digit [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or spaces.
14+
*/
15+
"additionalBankIdentificationType"?: AdditionalBankIdentificationRequirement.AdditionalBankIdentificationTypeEnum;
16+
/**
17+
* The description of the additional bank identification requirement.
18+
*/
19+
"description"?: string;
20+
/**
21+
* **additionalBankIdentificationRequirement**
22+
*/
23+
"type": AdditionalBankIdentificationRequirement.TypeEnum;
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": "additionalBankIdentificationType",
32+
"baseName": "additionalBankIdentificationType",
33+
"type": "AdditionalBankIdentificationRequirement.AdditionalBankIdentificationTypeEnum",
34+
"format": ""
35+
},
36+
{
37+
"name": "description",
38+
"baseName": "description",
39+
"type": "string",
40+
"format": ""
41+
},
42+
{
43+
"name": "type",
44+
"baseName": "type",
45+
"type": "AdditionalBankIdentificationRequirement.TypeEnum",
46+
"format": ""
47+
} ];
48+
49+
static getAttributeTypeMap() {
50+
return AdditionalBankIdentificationRequirement.attributeTypeMap;
51+
}
52+
53+
public constructor() {
54+
}
55+
}
56+
57+
export namespace AdditionalBankIdentificationRequirement {
58+
export enum AdditionalBankIdentificationTypeEnum {
59+
AuBsbCode = 'auBsbCode',
60+
CaRoutingNumber = 'caRoutingNumber',
61+
GbSortCode = 'gbSortCode',
62+
UsRoutingNumber = 'usRoutingNumber'
63+
}
64+
export enum TypeEnum {
65+
AdditionalBankIdentificationRequirement = 'additionalBankIdentificationRequirement'
66+
}
67+
}

src/typings/balancePlatform/balanceAccount.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { PlatformPaymentConfiguration } from "./platformPaymentConfiguration";
1313

1414
export class BalanceAccount {
1515
/**
16-
* The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/accountHolders__resParam_id) associated with the balance account.
16+
* The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/accountHolders#responses-200-id) associated with the balance account.
1717
*/
1818
"accountHolderId": string;
1919
/**

src/typings/balancePlatform/balanceAccountBase.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { PlatformPaymentConfiguration } from "./platformPaymentConfiguration";
1212

1313
export class BalanceAccountBase {
1414
/**
15-
* The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/accountHolders__resParam_id) associated with the balance account.
15+
* The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/accountHolders#responses-200-id) associated with the balance account.
1616
*/
1717
"accountHolderId": string;
1818
/**

src/typings/balancePlatform/balanceAccountInfo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { PlatformPaymentConfiguration } from "./platformPaymentConfiguration";
1212

1313
export class BalanceAccountInfo {
1414
/**
15-
* The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/accountHolders__resParam_id) associated with the balance account.
15+
* The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/accountHolders#responses-200-id) associated with the balance account.
1616
*/
1717
"accountHolderId": string;
1818
/**

src/typings/balancePlatform/balanceAccountUpdateRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { PlatformPaymentConfiguration } from "./platformPaymentConfiguration";
1212

1313
export class BalanceAccountUpdateRequest {
1414
/**
15-
* The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/accountHolders__resParam_id) associated with the balance account.
15+
* The unique identifier of the [account holder](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/accountHolders#responses-200-id) associated with the balance account.
1616
*/
1717
"accountHolderId"?: string;
1818
/**

0 commit comments

Comments
 (0)