Skip to content

Commit 27e05b0

Browse files
committed
Generate LEM
1 parent 6ff1366 commit 27e05b0

19 files changed

+87
-87
lines changed

src/typings/legalEntityManagement/bankAccountInfo.ts

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

1212

1313
export class BankAccountInfo {
14-
"accountIdentification"?: BankAccountInfoAccountIdentification;
14+
"accountIdentification"?: BankAccountInfoAccountIdentification | null;
1515
/**
1616
* The type of bank account.
1717
*
@@ -39,7 +39,7 @@ export class BankAccountInfo {
3939
{
4040
"name": "accountIdentification",
4141
"baseName": "accountIdentification",
42-
"type": "BankAccountInfoAccountIdentification",
42+
"type": "BankAccountInfoAccountIdentification | null",
4343
"format": ""
4444
},
4545
{

src/typings/legalEntityManagement/businessLine.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,12 @@ export class BusinessLine {
4545
* The service for which you are creating the business line. Possible values: * **paymentProcessing** * **banking**
4646
*/
4747
"service": BusinessLine.ServiceEnum;
48-
"sourceOfFunds"?: SourceOfFunds;
48+
"sourceOfFunds"?: SourceOfFunds | null;
4949
/**
5050
* 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.
5151
*/
5252
"webData"?: Array<WebData>;
53-
"webDataExemption"?: WebDataExemption;
53+
"webDataExemption"?: WebDataExemption | null;
5454

5555
static readonly discriminator: string | undefined = undefined;
5656

@@ -102,7 +102,7 @@ export class BusinessLine {
102102
{
103103
"name": "sourceOfFunds",
104104
"baseName": "sourceOfFunds",
105-
"type": "SourceOfFunds",
105+
"type": "SourceOfFunds | null",
106106
"format": ""
107107
},
108108
{
@@ -114,7 +114,7 @@ export class BusinessLine {
114114
{
115115
"name": "webDataExemption",
116116
"baseName": "webDataExemption",
117-
"type": "WebDataExemption",
117+
"type": "WebDataExemption | null",
118118
"format": ""
119119
} ];
120120

src/typings/legalEntityManagement/businessLineInfo.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ export class BusinessLineInfo {
3636
* The service for which you are creating the business line. Possible values: * **paymentProcessing** * **banking**
3737
*/
3838
"service": BusinessLineInfo.ServiceEnum;
39-
"sourceOfFunds"?: SourceOfFunds;
39+
"sourceOfFunds"?: SourceOfFunds | null;
4040
/**
4141
* 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.
4242
*/
4343
"webData"?: Array<WebData>;
44-
"webDataExemption"?: WebDataExemption;
44+
"webDataExemption"?: WebDataExemption | null;
4545

4646
static readonly discriminator: string | undefined = undefined;
4747

@@ -81,7 +81,7 @@ export class BusinessLineInfo {
8181
{
8282
"name": "sourceOfFunds",
8383
"baseName": "sourceOfFunds",
84-
"type": "SourceOfFunds",
84+
"type": "SourceOfFunds | null",
8585
"format": ""
8686
},
8787
{
@@ -93,7 +93,7 @@ export class BusinessLineInfo {
9393
{
9494
"name": "webDataExemption",
9595
"baseName": "webDataExemption",
96-
"type": "WebDataExemption",
96+
"type": "WebDataExemption | null",
9797
"format": ""
9898
} ];
9999

src/typings/legalEntityManagement/businessLineInfoUpdate.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ export class BusinessLineInfoUpdate {
2121
* A list of channels where goods or services are sold. Possible values: **pos**, **posMoto**, **eCommerce**, **ecomMoto**, **payByLink**. Required only in combination with the `service` **paymentProcessing**.
2222
*/
2323
"salesChannels"?: Array<string>;
24-
"sourceOfFunds"?: SourceOfFunds;
24+
"sourceOfFunds"?: SourceOfFunds | null;
2525
/**
2626
* 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.
2727
*/
2828
"webData"?: Array<WebData>;
29-
"webDataExemption"?: WebDataExemption;
29+
"webDataExemption"?: WebDataExemption | null;
3030

3131
static readonly discriminator: string | undefined = undefined;
3232

@@ -48,7 +48,7 @@ export class BusinessLineInfoUpdate {
4848
{
4949
"name": "sourceOfFunds",
5050
"baseName": "sourceOfFunds",
51-
"type": "SourceOfFunds",
51+
"type": "SourceOfFunds | null",
5252
"format": ""
5353
},
5454
{
@@ -60,7 +60,7 @@ export class BusinessLineInfoUpdate {
6060
{
6161
"name": "webDataExemption",
6262
"baseName": "webDataExemption",
63-
"type": "WebDataExemption",
63+
"type": "WebDataExemption | null",
6464
"format": ""
6565
} ];
6666

src/typings/legalEntityManagement/capabilityProblem.ts

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

1313

1414
export class CapabilityProblem {
15-
"entity"?: CapabilityProblemEntity;
15+
"entity"?: CapabilityProblemEntity | null;
1616
"verificationErrors"?: Array<VerificationError>;
1717

1818
static readonly discriminator: string | undefined = undefined;
@@ -23,7 +23,7 @@ export class CapabilityProblem {
2323
{
2424
"name": "entity",
2525
"baseName": "entity",
26-
"type": "CapabilityProblemEntity",
26+
"type": "CapabilityProblemEntity | null",
2727
"format": ""
2828
},
2929
{

src/typings/legalEntityManagement/capabilityProblemEntity.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export class CapabilityProblemEntity {
1616
*/
1717
"documents"?: Array<string>;
1818
"id"?: string;
19-
"owner"?: CapabilityProblemEntityRecursive;
19+
"owner"?: CapabilityProblemEntityRecursive | null;
2020
"type"?: CapabilityProblemEntity.TypeEnum;
2121

2222
static readonly discriminator: string | undefined = undefined;
@@ -39,7 +39,7 @@ export class CapabilityProblemEntity {
3939
{
4040
"name": "owner",
4141
"baseName": "owner",
42-
"type": "CapabilityProblemEntityRecursive",
42+
"type": "CapabilityProblemEntityRecursive | null",
4343
"format": ""
4444
},
4545
{

src/typings/legalEntityManagement/capabilitySettings.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export class CapabilitySettings {
2727
* The period when the rule conditions apply.
2828
*/
2929
"interval"?: CapabilitySettings.IntervalEnum;
30-
"maxAmount"?: Amount;
30+
"maxAmount"?: Amount | null;
3131

3232
static readonly discriminator: string | undefined = undefined;
3333

@@ -61,7 +61,7 @@ export class CapabilitySettings {
6161
{
6262
"name": "maxAmount",
6363
"baseName": "maxAmount",
64-
"type": "Amount",
64+
"type": "Amount | null",
6565
"format": ""
6666
} ];
6767

src/typings/legalEntityManagement/document.ts

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

1313

1414
export class Document {
15-
"attachment"?: Attachment;
15+
"attachment"?: Attachment | null;
1616
/**
1717
* Array that contains the document. The array supports multiple attachments for uploading different sides or pages of a document.
1818
*/
@@ -59,7 +59,7 @@ export class Document {
5959
* The number in the document.
6060
*/
6161
"number"?: string;
62-
"owner"?: OwnerEntity;
62+
"owner"?: OwnerEntity | null;
6363
/**
6464
* 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**, **proofOfSignatory**, or **proofOfFundingOrWealthSource**. * For **individual**, the `type` values can be **identityCard**, **driversLicense**, **passport**, **liveSelfie**, **proofOfNationalIdNumber**, **proofOfResidency**, **proofOfIndustry**, **proofOfIndividualTaxId**, **proofOfFundingOrWealthSource** or **proofOfRelationship**. * For **soleProprietorship**, the `type` values can be **constitutionalDocument**, **proofOfAddress**, or **proofOfIndustry**. * For **trust**, the `type` value is **constitutionalDocument**. * For **unincorporatedPartnership**, the `type` value is **constitutionalDocument**. * Use **bankStatement** to upload documents for a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id).
6565
*/
@@ -73,7 +73,7 @@ export class Document {
7373
{
7474
"name": "attachment",
7575
"baseName": "attachment",
76-
"type": "Attachment",
76+
"type": "Attachment | null",
7777
"format": ""
7878
},
7979
{
@@ -139,7 +139,7 @@ export class Document {
139139
{
140140
"name": "owner",
141141
"baseName": "owner",
142-
"type": "OwnerEntity",
142+
"type": "OwnerEntity | null",
143143
"format": ""
144144
},
145145
{

src/typings/legalEntityManagement/individual.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,24 +17,24 @@ import { WebData } from "./webData";
1717

1818

1919
export class Individual {
20-
"birthData"?: BirthData;
20+
"birthData"?: BirthData | null;
2121
/**
2222
* The email address of the legal entity.
2323
*/
2424
"email"?: string;
25-
"identificationData"?: IdentificationData;
25+
"identificationData"?: IdentificationData | null;
2626
"name": Name;
2727
/**
2828
* The individual\'s nationality.
2929
*/
3030
"nationality"?: string;
31-
"phone"?: PhoneNumber;
31+
"phone"?: PhoneNumber | null;
3232
"residentialAddress": Address;
3333
/**
3434
* The tax information of the individual.
3535
*/
3636
"taxInformation"?: Array<TaxInformation>;
37-
"webData"?: WebData;
37+
"webData"?: WebData | null;
3838

3939
static readonly discriminator: string | undefined = undefined;
4040

@@ -44,7 +44,7 @@ export class Individual {
4444
{
4545
"name": "birthData",
4646
"baseName": "birthData",
47-
"type": "BirthData",
47+
"type": "BirthData | null",
4848
"format": ""
4949
},
5050
{
@@ -56,7 +56,7 @@ export class Individual {
5656
{
5757
"name": "identificationData",
5858
"baseName": "identificationData",
59-
"type": "IdentificationData",
59+
"type": "IdentificationData | null",
6060
"format": ""
6161
},
6262
{
@@ -74,7 +74,7 @@ export class Individual {
7474
{
7575
"name": "phone",
7676
"baseName": "phone",
77-
"type": "PhoneNumber",
77+
"type": "PhoneNumber | null",
7878
"format": ""
7979
},
8080
{
@@ -92,7 +92,7 @@ export class Individual {
9292
{
9393
"name": "webData",
9494
"baseName": "webData",
95-
"type": "WebData",
95+
"type": "WebData | null",
9696
"format": ""
9797
} ];
9898

src/typings/legalEntityManagement/legalEntity.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ export class LegalEntity {
4545
* The unique identifier of the legal entity.
4646
*/
4747
"id": string;
48-
"individual"?: Individual;
49-
"organization"?: Organization;
48+
"individual"?: Individual | null;
49+
"organization"?: Organization | null;
5050
/**
5151
* List of verification errors related to capabilities for the legal entity.
5252
*/
@@ -55,17 +55,17 @@ export class LegalEntity {
5555
* Your reference for the legal entity, maximum 150 characters.
5656
*/
5757
"reference"?: string;
58-
"soleProprietorship"?: SoleProprietorship;
58+
"soleProprietorship"?: SoleProprietorship | null;
5959
/**
6060
* List of transfer instruments that the legal entity owns.
6161
*/
6262
"transferInstruments"?: Array<TransferInstrumentReference>;
63-
"trust"?: Trust;
63+
"trust"?: Trust | null;
6464
/**
6565
* The type of legal entity. Possible values: **individual**, **organization**, **soleProprietorship**, or **trust**.
6666
*/
6767
"type"?: LegalEntity.TypeEnum;
68-
"unincorporatedPartnership"?: UnincorporatedPartnership;
68+
"unincorporatedPartnership"?: UnincorporatedPartnership | null;
6969
/**
7070
* List of verification deadlines and the capabilities that will be disallowed if verification errors are not resolved.
7171
*/
@@ -113,13 +113,13 @@ export class LegalEntity {
113113
{
114114
"name": "individual",
115115
"baseName": "individual",
116-
"type": "Individual",
116+
"type": "Individual | null",
117117
"format": ""
118118
},
119119
{
120120
"name": "organization",
121121
"baseName": "organization",
122-
"type": "Organization",
122+
"type": "Organization | null",
123123
"format": ""
124124
},
125125
{
@@ -137,7 +137,7 @@ export class LegalEntity {
137137
{
138138
"name": "soleProprietorship",
139139
"baseName": "soleProprietorship",
140-
"type": "SoleProprietorship",
140+
"type": "SoleProprietorship | null",
141141
"format": ""
142142
},
143143
{
@@ -149,7 +149,7 @@ export class LegalEntity {
149149
{
150150
"name": "trust",
151151
"baseName": "trust",
152-
"type": "Trust",
152+
"type": "Trust | null",
153153
"format": ""
154154
},
155155
{
@@ -161,7 +161,7 @@ export class LegalEntity {
161161
{
162162
"name": "unincorporatedPartnership",
163163
"baseName": "unincorporatedPartnership",
164-
"type": "UnincorporatedPartnership",
164+
"type": "UnincorporatedPartnership | null",
165165
"format": ""
166166
},
167167
{

0 commit comments

Comments
 (0)