Skip to content

Commit 5e545d8

Browse files
Prepare Major Release (#1223)
* [create-pull-request] automated change * revert back changes on automation pr as specs are still broken * fix Makefile so models automation workflow does not break --------- Co-authored-by: Adyen Automation <plugins_dev@adyen.com>
1 parent 2d437b8 commit 5e545d8

File tree

8 files changed

+16
-16
lines changed

8 files changed

+16
-16
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ openapi-generator-url:=https://repo1.maven.org/maven2/org/openapitools/openapi-g
44
openapi-generator-jar:=build/openapi-generator-cli.jar
55
openapi-generator-cli:=java -jar $(openapi-generator-jar)
66

7-
services:=balanceControl balancePlatform binlookup checkout configurationWebhooks dataProtection legalEntityManagement management payment payout platformsAccount platformsFund platformsHostedOnboardingPage platformsNotificationConfiguration recurring reportWebhooks storedValue terminalManagement transfer transferWebhooks
7+
services:=balanceControl balancePlatform binLookup checkout configurationWebhooks dataProtection legalEntityManagement management payment payout recurring reportWebhooks storedValue terminalManagement transfer transferWebhooks
88

99
# Generate models (for each service)
1010
models: $(services)

src/typings/checkout/models.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ export * from './storedPaymentMethodDetails';
168168
export * from './storedPaymentMethodResource';
169169
export * from './subInputDetail';
170170
export * from './subMerchant';
171-
export * from './subMerchant2';
171+
export * from './subMerchantInfo';
172172
export * from './threeDS2RequestData';
173173
export * from './threeDS2RequestData2';
174174
export * from './threeDS2ResponseData';
@@ -349,7 +349,7 @@ import { StoredPaymentMethodDetails } from './storedPaymentMethodDetails';
349349
import { StoredPaymentMethodResource } from './storedPaymentMethodResource';
350350
import { SubInputDetail } from './subInputDetail';
351351
import { SubMerchant } from './subMerchant';
352-
import { SubMerchant2 } from './subMerchant2';
352+
import { SubMerchantInfo } from './subMerchantInfo';
353353
import { ThreeDS2RequestData } from './threeDS2RequestData';
354354
import { ThreeDS2RequestData2 } from './threeDS2RequestData2';
355355
import { ThreeDS2ResponseData } from './threeDS2ResponseData';
@@ -714,7 +714,7 @@ let typeMap: {[index: string]: any} = {
714714
"StoredPaymentMethodResource": StoredPaymentMethodResource,
715715
"SubInputDetail": SubInputDetail,
716716
"SubMerchant": SubMerchant,
717-
"SubMerchant2": SubMerchant2,
717+
"SubMerchantInfo": SubMerchantInfo,
718718
"ThreeDS2RequestData": ThreeDS2RequestData,
719719
"ThreeDS2RequestData2": ThreeDS2RequestData2,
720720
"ThreeDS2ResponseData": ThreeDS2ResponseData,

src/typings/checkout/paymentCaptureRequest.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { Amount } from './amount';
1111
import { LineItem } from './lineItem';
1212
import { PlatformChargebackLogic } from './platformChargebackLogic';
1313
import { Split } from './split';
14-
import { SubMerchant2 } from './subMerchant2';
14+
import { SubMerchantInfo } from './subMerchantInfo';
1515

1616
export class PaymentCaptureRequest {
1717
'amount': Amount;
@@ -35,7 +35,7 @@ export class PaymentCaptureRequest {
3535
/**
3636
* A List of sub-merchants.
3737
*/
38-
'subMerchants'?: Array<SubMerchant2>;
38+
'subMerchants'?: Array<SubMerchantInfo>;
3939

4040
static discriminator: string | undefined = undefined;
4141

@@ -73,7 +73,7 @@ export class PaymentCaptureRequest {
7373
{
7474
"name": "subMerchants",
7575
"baseName": "subMerchants",
76-
"type": "Array<SubMerchant2>"
76+
"type": "Array<SubMerchantInfo>"
7777
} ];
7878

7979
static getAttributeTypeMap() {

src/typings/checkout/paymentCaptureResponse.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { Amount } from './amount';
1111
import { LineItem } from './lineItem';
1212
import { PlatformChargebackLogic } from './platformChargebackLogic';
1313
import { Split } from './split';
14-
import { SubMerchant2 } from './subMerchant2';
14+
import { SubMerchantInfo } from './subMerchantInfo';
1515

1616
export class PaymentCaptureResponse {
1717
'amount': Amount;
@@ -47,7 +47,7 @@ export class PaymentCaptureResponse {
4747
/**
4848
* List of sub-merchants.
4949
*/
50-
'subMerchants'?: Array<SubMerchant2>;
50+
'subMerchants'?: Array<SubMerchantInfo>;
5151

5252
static discriminator: string | undefined = undefined;
5353

@@ -100,7 +100,7 @@ export class PaymentCaptureResponse {
100100
{
101101
"name": "subMerchants",
102102
"baseName": "subMerchants",
103-
"type": "Array<SubMerchant2>"
103+
"type": "Array<SubMerchantInfo>"
104104
} ];
105105

106106
static getAttributeTypeMap() {

src/typings/checkout/subMerchant2.ts renamed to src/typings/checkout/subMerchantInfo.ts

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

1010
import { Address } from './address';
1111

12-
export class SubMerchant2 {
12+
export class SubMerchantInfo {
1313
'address'?: Address;
1414
'id'?: string;
1515
'mcc'?: string;
@@ -46,7 +46,7 @@ export class SubMerchant2 {
4646
} ];
4747

4848
static getAttributeTypeMap() {
49-
return SubMerchant2.attributeTypeMap;
49+
return SubMerchantInfo.attributeTypeMap;
5050
}
5151
}
5252

src/typings/legalEntityManagement/acceptTermsOfServiceRequest.ts

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

1111
export class AcceptTermsOfServiceRequest {
1212
/**
13-
* The unique identifier of the user accepting the Terms of Service.
13+
* The individual legal entity ID of the user accepting the Terms of Service. This can also be the legal entity ID of the signatory for an organization.
1414
*/
1515
'acceptedBy': string;
1616
/**

src/typings/legalEntityManagement/businessLineInfoUpdate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export class BusinessLineInfoUpdate {
3131
/**
3232
* The service for which you are creating the business line. Possible values: **paymentProcessing**, **issuing**, **banking**
3333
*/
34-
'service': BusinessLineInfoUpdate.ServiceEnum;
34+
'service'?: BusinessLineInfoUpdate.ServiceEnum;
3535
'sourceOfFunds'?: SourceOfFunds;
3636
/**
3737
* List of website URLs where your user\'s goods or services are sold. When this is required for a service but your user does not have an online presence, provide the reason in the `webDataExemption` object.

src/typings/legalEntityManagement/document.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export class Document {
1515
/**
1616
* Array that contains the document. The array supports multiple attachments for uploading different sides or pages of a document.
1717
*/
18-
'attachments': Array<Attachment>;
18+
'attachments'?: Array<Attachment>;
1919
/**
2020
* The creation date of the document.
2121
*/
@@ -52,7 +52,7 @@ export class Document {
5252
* The number in the document.
5353
*/
5454
'number'?: string;
55-
'owner': OwnerEntity;
55+
'owner'?: OwnerEntity;
5656
/**
5757
* Type of document, used when providing an ID number or uploading a document. The possible values depend on the legal entity type. * For **organization**, the `type` values can be **proofOfAddress**, **registrationDocument**, **vatDocument**, **proofOfOrganizationTaxInfo**, **proofOfOwnership**, **proofOfIndustry**, or **proofOfFundingOrWealthSource**. * For **individual**, the `type` values can be **identityCard**, **driversLicense**, **passport**, **proofOfNationalIdNumber**, **proofOfResidency**, **proofOfIndustry**, **proofOfIndividualTaxId**, or **proofOfFundingOrWealthSource**. * For **soleProprietorship**, the `type` values can be **constitutionalDocument**, **proofOfAddress**, or **proofOfIndustry**. * Use **bankStatement** to upload documents for a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id).
5858
*/

0 commit comments

Comments
 (0)