Skip to content

Commit d1a1cdc

Browse files
committed
Generate Payout
1 parent 7d508b1 commit d1a1cdc

35 files changed

+354
-354
lines changed

src/services/payout/initializationApi.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,14 @@ export class InitializationApi extends Service {
4545
const endpoint = `${this.baseUrl}/storeDetail`;
4646
const resource = new Resource(this, endpoint);
4747

48-
const request: StoreDetailRequest = ObjectSerializer.serialize(storeDetailRequest, "StoreDetailRequest", "");
48+
const request: StoreDetailRequest = ObjectSerializer.serialize(storeDetailRequest, "StoreDetailRequest");
4949
const response = await getJsonResponse<StoreDetailRequest, StoreDetailResponse>(
5050
resource,
5151
request,
5252
{ ...requestOptions, method: "POST" }
5353
);
5454

55-
return ObjectSerializer.deserialize(response, "StoreDetailResponse", "");
55+
return ObjectSerializer.deserialize(response, "StoreDetailResponse");
5656
}
5757

5858
/**
@@ -65,14 +65,14 @@ export class InitializationApi extends Service {
6565
const endpoint = `${this.baseUrl}/storeDetailAndSubmitThirdParty`;
6666
const resource = new Resource(this, endpoint);
6767

68-
const request: StoreDetailAndSubmitRequest = ObjectSerializer.serialize(storeDetailAndSubmitRequest, "StoreDetailAndSubmitRequest", "");
68+
const request: StoreDetailAndSubmitRequest = ObjectSerializer.serialize(storeDetailAndSubmitRequest, "StoreDetailAndSubmitRequest");
6969
const response = await getJsonResponse<StoreDetailAndSubmitRequest, StoreDetailAndSubmitResponse>(
7070
resource,
7171
request,
7272
{ ...requestOptions, method: "POST" }
7373
);
7474

75-
return ObjectSerializer.deserialize(response, "StoreDetailAndSubmitResponse", "");
75+
return ObjectSerializer.deserialize(response, "StoreDetailAndSubmitResponse");
7676
}
7777

7878
/**
@@ -85,14 +85,14 @@ export class InitializationApi extends Service {
8585
const endpoint = `${this.baseUrl}/submitThirdParty`;
8686
const resource = new Resource(this, endpoint);
8787

88-
const request: SubmitRequest = ObjectSerializer.serialize(submitRequest, "SubmitRequest", "");
88+
const request: SubmitRequest = ObjectSerializer.serialize(submitRequest, "SubmitRequest");
8989
const response = await getJsonResponse<SubmitRequest, SubmitResponse>(
9090
resource,
9191
request,
9292
{ ...requestOptions, method: "POST" }
9393
);
9494

95-
return ObjectSerializer.deserialize(response, "SubmitResponse", "");
95+
return ObjectSerializer.deserialize(response, "SubmitResponse");
9696
}
9797

9898
}

src/services/payout/instantPayoutsApi.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,14 @@ export class InstantPayoutsApi extends Service {
4141
const endpoint = `${this.baseUrl}/payout`;
4242
const resource = new Resource(this, endpoint);
4343

44-
const request: PayoutRequest = ObjectSerializer.serialize(payoutRequest, "PayoutRequest", "");
44+
const request: PayoutRequest = ObjectSerializer.serialize(payoutRequest, "PayoutRequest");
4545
const response = await getJsonResponse<PayoutRequest, PayoutResponse>(
4646
resource,
4747
request,
4848
{ ...requestOptions, method: "POST" }
4949
);
5050

51-
return ObjectSerializer.deserialize(response, "PayoutResponse", "");
51+
return ObjectSerializer.deserialize(response, "PayoutResponse");
5252
}
5353

5454
}

src/services/payout/reviewingApi.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,14 @@ export class ReviewingApi extends Service {
4141
const endpoint = `${this.baseUrl}/confirmThirdParty`;
4242
const resource = new Resource(this, endpoint);
4343

44-
const request: ModifyRequest = ObjectSerializer.serialize(modifyRequest, "ModifyRequest", "");
44+
const request: ModifyRequest = ObjectSerializer.serialize(modifyRequest, "ModifyRequest");
4545
const response = await getJsonResponse<ModifyRequest, ModifyResponse>(
4646
resource,
4747
request,
4848
{ ...requestOptions, method: "POST" }
4949
);
5050

51-
return ObjectSerializer.deserialize(response, "ModifyResponse", "");
51+
return ObjectSerializer.deserialize(response, "ModifyResponse");
5252
}
5353

5454
/**
@@ -61,14 +61,14 @@ export class ReviewingApi extends Service {
6161
const endpoint = `${this.baseUrl}/declineThirdParty`;
6262
const resource = new Resource(this, endpoint);
6363

64-
const request: ModifyRequest = ObjectSerializer.serialize(modifyRequest, "ModifyRequest", "");
64+
const request: ModifyRequest = ObjectSerializer.serialize(modifyRequest, "ModifyRequest");
6565
const response = await getJsonResponse<ModifyRequest, ModifyResponse>(
6666
resource,
6767
request,
6868
{ ...requestOptions, method: "POST" }
6969
);
7070

71-
return ObjectSerializer.deserialize(response, "ModifyResponse", "");
71+
return ObjectSerializer.deserialize(response, "ModifyResponse");
7272
}
7373

7474
}

src/typings/payout/address.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,27 +12,27 @@ export class Address {
1212
/**
1313
* The name of the city. Maximum length: 3000 characters.
1414
*/
15-
'city': string;
15+
"city": string;
1616
/**
1717
* The two-character ISO-3166-1 alpha-2 country code. For example, **US**. > If you don\'t know the country or are not collecting the country from the shopper, provide `country` as `ZZ`.
1818
*/
19-
'country': string;
19+
"country": string;
2020
/**
2121
* The number or name of the house. Maximum length: 3000 characters.
2222
*/
23-
'houseNumberOrName': string;
23+
"houseNumberOrName": string;
2424
/**
2525
* A maximum of five digits for an address in the US, or a maximum of ten characters for an address in all other countries.
2626
*/
27-
'postalCode': string;
27+
"postalCode": string;
2828
/**
2929
* The two-character ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada.
3030
*/
31-
'stateOrProvince'?: string;
31+
"stateOrProvince"?: string;
3232
/**
3333
* The name of the street. Maximum length: 3000 characters. > The house number should not be included in this field; it should be separately provided via `houseNumberOrName`.
3434
*/
35-
'street': string;
35+
"street": string;
3636

3737
static readonly discriminator: string | undefined = undefined;
3838

src/typings/payout/amount.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ export class Amount {
1212
/**
1313
* The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes#currency-codes).
1414
*/
15-
'currency': string;
15+
"currency": string;
1616
/**
1717
* The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes#minor-units).
1818
*/
19-
'value': number;
19+
"value": number;
2020

2121
static readonly discriminator: string | undefined = undefined;
2222

src/typings/payout/bankAccount.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,39 +12,39 @@ export class BankAccount {
1212
/**
1313
* The bank account number (without separators).
1414
*/
15-
'bankAccountNumber'?: string;
15+
"bankAccountNumber"?: string;
1616
/**
1717
* The bank city.
1818
*/
19-
'bankCity'?: string;
19+
"bankCity"?: string;
2020
/**
2121
* The location id of the bank. The field value is `nil` in most cases.
2222
*/
23-
'bankLocationId'?: string;
23+
"bankLocationId"?: string;
2424
/**
2525
* The name of the bank.
2626
*/
27-
'bankName'?: string;
27+
"bankName"?: string;
2828
/**
2929
* The [Business Identifier Code](https://en.wikipedia.org/wiki/ISO_9362) (BIC) is the SWIFT address assigned to a bank. The field value is `nil` in most cases.
3030
*/
31-
'bic'?: string;
31+
"bic"?: string;
3232
/**
3333
* Country code where the bank is located. A valid value is an ISO two-character country code (e.g. \'NL\').
3434
*/
35-
'countryCode'?: string;
35+
"countryCode"?: string;
3636
/**
3737
* The [International Bank Account Number](https://en.wikipedia.org/wiki/International_Bank_Account_Number) (IBAN).
3838
*/
39-
'iban'?: string;
39+
"iban"?: string;
4040
/**
4141
* The name of the bank account holder. If you submit a name with non-Latin characters, we automatically replace some of them with corresponding Latin characters to meet the FATF recommendations. For example: * χ12 is converted to ch12. * üA is converted to euA. * Peter Møller is converted to Peter Mller, because banks don\'t accept \'ø\'. After replacement, the ownerName must have at least three alphanumeric characters (A-Z, a-z, 0-9), and at least one of them must be a valid Latin character (A-Z, a-z). For example: * John17 - allowed. * J17 - allowed. * 171 - not allowed. * John-7 - allowed. > If provided details don\'t match the required format, the response returns the error message: 203 \'Invalid bank account holder name\'.
4242
*/
43-
'ownerName'?: string;
43+
"ownerName"?: string;
4444
/**
4545
* The bank account holder\'s tax ID.
4646
*/
47-
'taxId'?: string;
47+
"taxId"?: string;
4848

4949
static readonly discriminator: string | undefined = undefined;
5050

src/typings/payout/card.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,35 +12,35 @@ export class Card {
1212
/**
1313
* The [card verification code](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid) (1-20 characters). Depending on the card brand, it is known also as: * CVV2/CVC2 – length: 3 digits * CID – length: 4 digits > If you are using [Client-Side Encryption](https://docs.adyen.com/classic-integration/cse-integration-ecommerce), the CVC code is present in the encrypted data. You must never post the card details to the server. > This field must be always present in a [one-click payment request](https://docs.adyen.com/classic-integration/recurring-payments). > When this value is returned in a response, it is always empty because it is not stored.
1414
*/
15-
'cvc'?: string;
15+
"cvc"?: string;
1616
/**
1717
* The card expiry month. Format: 2 digits, zero-padded for single digits. For example: * 03 = March * 11 = November
1818
*/
19-
'expiryMonth'?: string;
19+
"expiryMonth"?: string;
2020
/**
2121
* The card expiry year. Format: 4 digits. For example: 2020
2222
*/
23-
'expiryYear'?: string;
23+
"expiryYear"?: string;
2424
/**
2525
* The name of the cardholder, as printed on the card.
2626
*/
27-
'holderName'?: string;
27+
"holderName"?: string;
2828
/**
2929
* The issue number of the card (for some UK debit cards only).
3030
*/
31-
'issueNumber'?: string;
31+
"issueNumber"?: string;
3232
/**
3333
* The card number (4-19 characters). Do not use any separators. When this value is returned in a response, only the last 4 digits of the card number are returned.
3434
*/
35-
'number'?: string;
35+
"number"?: string;
3636
/**
3737
* The month component of the start date (for some UK debit cards only).
3838
*/
39-
'startMonth'?: string;
39+
"startMonth"?: string;
4040
/**
4141
* The year component of the start date (for some UK debit cards only).
4242
*/
43-
'startYear'?: string;
43+
"startYear"?: string;
4444

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

src/typings/payout/fraudCheckResult.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ export class FraudCheckResult {
1212
/**
1313
* The fraud score generated by the risk check.
1414
*/
15-
'accountScore': number;
15+
"accountScore": number;
1616
/**
1717
* The ID of the risk check.
1818
*/
19-
'checkId': number;
19+
"checkId": number;
2020
/**
2121
* The name of the risk check.
2222
*/
23-
'name': string;
23+
"name": string;
2424

2525
static readonly discriminator: string | undefined = undefined;
2626

src/typings/payout/fraudCheckResultWrapper.ts

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

10-
import { FraudCheckResult } from './fraudCheckResult';
10+
import { FraudCheckResult } from "./fraudCheckResult";
1111

1212

1313
export class FraudCheckResultWrapper {
14-
'FraudCheckResult'?: FraudCheckResult;
14+
"FraudCheckResult"?: FraudCheckResult;
1515

1616
static readonly discriminator: string | undefined = undefined;
1717

src/typings/payout/fraudResult.ts

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

10-
import { FraudCheckResultWrapper } from './fraudCheckResultWrapper';
10+
import { FraudCheckResultWrapper } from "./fraudCheckResultWrapper";
1111

1212

1313
export class FraudResult {
1414
/**
1515
* The total fraud score generated by the risk checks.
1616
*/
17-
'accountScore': number;
17+
"accountScore": number;
1818
/**
1919
* The result of the individual risk checks.
2020
*/
21-
'results'?: Array<FraudCheckResultWrapper>;
21+
"results"?: Array<FraudCheckResultWrapper>;
2222

2323
static readonly discriminator: string | undefined = undefined;
2424

0 commit comments

Comments
 (0)