Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions src/services/terminalManagementApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ export class TerminalManagementAPI extends Service {
* @param assignTerminalsRequest {@link AssignTerminalsRequest }
* @param requestOptions {@link IRequest.Options }
* @return {@link AssignTerminalsResponse }
*
* @deprecated since POS Terminal Management API v1
* Use [Management API](https://docs.adyen.com/api-explorer/Management/latest/overview).
*/
public async assignTerminals(assignTerminalsRequest: AssignTerminalsRequest, requestOptions?: IRequest.Options): Promise<AssignTerminalsResponse> {
const endpoint = `${this.baseUrl}/assignTerminals`;
Expand All @@ -57,6 +60,9 @@ export class TerminalManagementAPI extends Service {
* @param findTerminalRequest {@link FindTerminalRequest }
* @param requestOptions {@link IRequest.Options }
* @return {@link FindTerminalResponse }
*
* @deprecated since POS Terminal Management API v1
* Use [Management API](https://docs.adyen.com/api-explorer/Management/latest/overview).
*/
public async findTerminal(findTerminalRequest: FindTerminalRequest, requestOptions?: IRequest.Options): Promise<FindTerminalResponse> {
const endpoint = `${this.baseUrl}/findTerminal`;
Expand All @@ -75,6 +81,9 @@ export class TerminalManagementAPI extends Service {
* @param getStoresUnderAccountRequest {@link GetStoresUnderAccountRequest }
* @param requestOptions {@link IRequest.Options }
* @return {@link GetStoresUnderAccountResponse }
*
* @deprecated since POS Terminal Management API v1
* Use [Management API](https://docs.adyen.com/api-explorer/Management/latest/overview).
*/
public async getStoresUnderAccount(getStoresUnderAccountRequest: GetStoresUnderAccountRequest, requestOptions?: IRequest.Options): Promise<GetStoresUnderAccountResponse> {
const endpoint = `${this.baseUrl}/getStoresUnderAccount`;
Expand All @@ -93,6 +102,9 @@ export class TerminalManagementAPI extends Service {
* @param getTerminalDetailsRequest {@link GetTerminalDetailsRequest }
* @param requestOptions {@link IRequest.Options }
* @return {@link GetTerminalDetailsResponse }
*
* @deprecated since POS Terminal Management API v1
* Use [Management API](https://docs.adyen.com/api-explorer/Management/latest/overview).
*/
public async getTerminalDetails(getTerminalDetailsRequest: GetTerminalDetailsRequest, requestOptions?: IRequest.Options): Promise<GetTerminalDetailsResponse> {
const endpoint = `${this.baseUrl}/getTerminalDetails`;
Expand All @@ -111,6 +123,9 @@ export class TerminalManagementAPI extends Service {
* @param getTerminalsUnderAccountRequest {@link GetTerminalsUnderAccountRequest }
* @param requestOptions {@link IRequest.Options }
* @return {@link GetTerminalsUnderAccountResponse }
*
* @deprecated since POS Terminal Management API v1
* Use [Management API](https://docs.adyen.com/api-explorer/Management/latest/overview).
*/
public async getTerminalsUnderAccount(getTerminalsUnderAccountRequest: GetTerminalsUnderAccountRequest, requestOptions?: IRequest.Options): Promise<GetTerminalsUnderAccountResponse> {
const endpoint = `${this.baseUrl}/getTerminalsUnderAccount`;
Expand Down
2 changes: 1 addition & 1 deletion src/typings/balancePlatform/balance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export class Balance {
*/
'available': number;
/**
* The sum of transactions that have already been settled.
* The sum of the transactions that have already been settled.
*/
'balance': number;
/**
Expand Down
4 changes: 4 additions & 0 deletions src/typings/balancePlatform/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ export * from './phoneNumber';
export * from './pinChangeRequest';
export * from './pinChangeResponse';
export * from './platformPaymentConfiguration';
export * from './priorityRestriction';
export * from './processingTypesRestriction';
export * from './publicKeyResponse';
export * from './registerSCAFinalResponse';
Expand Down Expand Up @@ -270,6 +271,7 @@ import { PhoneNumber } from './phoneNumber';
import { PinChangeRequest } from './pinChangeRequest';
import { PinChangeResponse } from './pinChangeResponse';
import { PlatformPaymentConfiguration } from './platformPaymentConfiguration';
import { PriorityRestriction } from './priorityRestriction';
import { ProcessingTypesRestriction } from './processingTypesRestriction';
import { PublicKeyResponse } from './publicKeyResponse';
import { RegisterSCAFinalResponse } from './registerSCAFinalResponse';
Expand Down Expand Up @@ -399,6 +401,7 @@ let enumsMap: {[index: string]: any} = {
"Phone.TypeEnum": Phone.TypeEnum,
"PhoneNumber.PhoneTypeEnum": PhoneNumber.PhoneTypeEnum,
"PinChangeResponse.StatusEnum": PinChangeResponse.StatusEnum,
"PriorityRestriction.ValueEnum": PriorityRestriction.ValueEnum,
"ProcessingTypesRestriction.ValueEnum": ProcessingTypesRestriction.ValueEnum,
"SELocalAccountIdentification.TypeEnum": SELocalAccountIdentification.TypeEnum,
"SGLocalAccountIdentification.TypeEnum": SGLocalAccountIdentification.TypeEnum,
Expand Down Expand Up @@ -552,6 +555,7 @@ let typeMap: {[index: string]: any} = {
"PinChangeRequest": PinChangeRequest,
"PinChangeResponse": PinChangeResponse,
"PlatformPaymentConfiguration": PlatformPaymentConfiguration,
"PriorityRestriction": PriorityRestriction,
"ProcessingTypesRestriction": ProcessingTypesRestriction,
"PublicKeyResponse": PublicKeyResponse,
"RegisterSCAFinalResponse": RegisterSCAFinalResponse,
Expand Down
45 changes: 45 additions & 0 deletions src/typings/balancePlatform/priorityRestriction.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
/*
* The version of the OpenAPI document: v2
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit this class manually.
*/


export class PriorityRestriction {
/**
* Defines how the condition must be evaluated.
*/
'operation': string;
'value'?: Array<PriorityRestriction.ValueEnum>;

static discriminator: string | undefined = undefined;

static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "operation",
"baseName": "operation",
"type": "string"
},
{
"name": "value",
"baseName": "value",
"type": "Array<PriorityRestriction.ValueEnum>"
} ];

static getAttributeTypeMap() {
return PriorityRestriction.attributeTypeMap;
}
}

export namespace PriorityRestriction {
export enum ValueEnum {
CrossBorder = 'crossBorder',
Fast = 'fast',
Instant = 'instant',
IntraBank = 'intraBank',
Regular = 'regular'
}
}
7 changes: 7 additions & 0 deletions src/typings/balancePlatform/transactionRuleRestrictions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import { MatchingValuesRestriction } from './matchingValuesRestriction';
import { MccsRestriction } from './mccsRestriction';
import { MerchantNamesRestriction } from './merchantNamesRestriction';
import { MerchantsRestriction } from './merchantsRestriction';
import { PriorityRestriction } from './priorityRestriction';
import { ProcessingTypesRestriction } from './processingTypesRestriction';
import { RiskScoresRestriction } from './riskScoresRestriction';
import { SameAmountRestriction } from './sameAmountRestriction';
Expand All @@ -44,6 +45,7 @@ export class TransactionRuleRestrictions {
'mccs'?: MccsRestriction | null;
'merchantNames'?: MerchantNamesRestriction | null;
'merchants'?: MerchantsRestriction | null;
'priority'?: PriorityRestriction | null;
'processingTypes'?: ProcessingTypesRestriction | null;
'riskScores'?: RiskScoresRestriction | null;
'sameAmountRestriction'?: SameAmountRestriction | null;
Expand Down Expand Up @@ -125,6 +127,11 @@ export class TransactionRuleRestrictions {
"baseName": "merchants",
"type": "MerchantsRestriction | null"
},
{
"name": "priority",
"baseName": "priority",
"type": "PriorityRestriction | null"
},
{
"name": "processingTypes",
"baseName": "processingTypes",
Expand Down
4 changes: 4 additions & 0 deletions src/typings/balancePlatform/verificationDeadline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ export namespace VerificationDeadline {
IssueCard = 'issueCard',
IssueCardCommercial = 'issueCardCommercial',
IssueCardConsumer = 'issueCardConsumer',
IssueChargeCard = 'issueChargeCard',
IssueChargeCardCommercial = 'issueChargeCardCommercial',
IssueCreditLimit = 'issueCreditLimit',
LocalAcceptance = 'localAcceptance',
Payout = 'payout',
Expand All @@ -93,6 +95,8 @@ export namespace VerificationDeadline {
UseCardInRestrictedIndustries = 'useCardInRestrictedIndustries',
UseCardInRestrictedIndustriesCommercial = 'useCardInRestrictedIndustriesCommercial',
UseCardInRestrictedIndustriesConsumer = 'useCardInRestrictedIndustriesConsumer',
UseChargeCard = 'useChargeCard',
UseChargeCardCommercial = 'useChargeCardCommercial',
WithdrawFromAtm = 'withdrawFromAtm',
WithdrawFromAtmCommercial = 'withdrawFromAtmCommercial',
WithdrawFromAtmConsumer = 'withdrawFromAtmConsumer',
Expand Down
4 changes: 4 additions & 0 deletions src/typings/balancePlatform/verificationError.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ export namespace VerificationError {
IssueCard = 'issueCard',
IssueCardCommercial = 'issueCardCommercial',
IssueCardConsumer = 'issueCardConsumer',
IssueChargeCard = 'issueChargeCard',
IssueChargeCardCommercial = 'issueChargeCardCommercial',
IssueCreditLimit = 'issueCreditLimit',
LocalAcceptance = 'localAcceptance',
Payout = 'payout',
Expand All @@ -122,6 +124,8 @@ export namespace VerificationError {
UseCardInRestrictedIndustries = 'useCardInRestrictedIndustries',
UseCardInRestrictedIndustriesCommercial = 'useCardInRestrictedIndustriesCommercial',
UseCardInRestrictedIndustriesConsumer = 'useCardInRestrictedIndustriesConsumer',
UseChargeCard = 'useChargeCard',
UseChargeCardCommercial = 'useChargeCardCommercial',
WithdrawFromAtm = 'withdrawFromAtm',
WithdrawFromAtmCommercial = 'withdrawFromAtmCommercial',
WithdrawFromAtmConsumer = 'withdrawFromAtmConsumer',
Expand Down
4 changes: 4 additions & 0 deletions src/typings/balancePlatform/verificationErrorRecursive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ export namespace VerificationErrorRecursive {
IssueCard = 'issueCard',
IssueCardCommercial = 'issueCardCommercial',
IssueCardConsumer = 'issueCardConsumer',
IssueChargeCard = 'issueChargeCard',
IssueChargeCardCommercial = 'issueChargeCardCommercial',
IssueCreditLimit = 'issueCreditLimit',
LocalAcceptance = 'localAcceptance',
Payout = 'payout',
Expand All @@ -112,6 +114,8 @@ export namespace VerificationErrorRecursive {
UseCardInRestrictedIndustries = 'useCardInRestrictedIndustries',
UseCardInRestrictedIndustriesCommercial = 'useCardInRestrictedIndustriesCommercial',
UseCardInRestrictedIndustriesConsumer = 'useCardInRestrictedIndustriesConsumer',
UseChargeCard = 'useChargeCard',
UseChargeCardCommercial = 'useChargeCardCommercial',
WithdrawFromAtm = 'withdrawFromAtm',
WithdrawFromAtmCommercial = 'withdrawFromAtmCommercial',
WithdrawFromAtmConsumer = 'withdrawFromAtmConsumer',
Expand Down
2 changes: 1 addition & 1 deletion src/typings/checkout/paymentRefundRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export class PaymentRefundRequest {
*/
'merchantAccount': string;
/**
* Your reason for the refund request
* The reason for the refund request. Possible values: * **FRAUD** * **CUSTOMER REQUEST** * **RETURN** * **DUPLICATE** * **OTHER**
*/
'merchantRefundReason'?: PaymentRefundRequest.MerchantRefundReasonEnum | null;
/**
Expand Down
2 changes: 1 addition & 1 deletion src/typings/configurationWebhooks/balance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export class Balance {
*/
'available': number;
/**
* The sum of transactions that have already been settled.
* The sum of the transactions that have already been settled.
*/
'balance': number;
/**
Expand Down
4 changes: 4 additions & 0 deletions src/typings/configurationWebhooks/verificationDeadline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ export namespace VerificationDeadline {
IssueCard = 'issueCard',
IssueCardCommercial = 'issueCardCommercial',
IssueCardConsumer = 'issueCardConsumer',
IssueChargeCard = 'issueChargeCard',
IssueChargeCardCommercial = 'issueChargeCardCommercial',
IssueCreditLimit = 'issueCreditLimit',
LocalAcceptance = 'localAcceptance',
Payout = 'payout',
Expand All @@ -93,6 +95,8 @@ export namespace VerificationDeadline {
UseCardInRestrictedIndustries = 'useCardInRestrictedIndustries',
UseCardInRestrictedIndustriesCommercial = 'useCardInRestrictedIndustriesCommercial',
UseCardInRestrictedIndustriesConsumer = 'useCardInRestrictedIndustriesConsumer',
UseChargeCard = 'useChargeCard',
UseChargeCardCommercial = 'useChargeCardCommercial',
WithdrawFromAtm = 'withdrawFromAtm',
WithdrawFromAtmCommercial = 'withdrawFromAtmCommercial',
WithdrawFromAtmConsumer = 'withdrawFromAtmConsumer',
Expand Down
4 changes: 4 additions & 0 deletions src/typings/configurationWebhooks/verificationError.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ export namespace VerificationError {
IssueCard = 'issueCard',
IssueCardCommercial = 'issueCardCommercial',
IssueCardConsumer = 'issueCardConsumer',
IssueChargeCard = 'issueChargeCard',
IssueChargeCardCommercial = 'issueChargeCardCommercial',
IssueCreditLimit = 'issueCreditLimit',
LocalAcceptance = 'localAcceptance',
Payout = 'payout',
Expand All @@ -122,6 +124,8 @@ export namespace VerificationError {
UseCardInRestrictedIndustries = 'useCardInRestrictedIndustries',
UseCardInRestrictedIndustriesCommercial = 'useCardInRestrictedIndustriesCommercial',
UseCardInRestrictedIndustriesConsumer = 'useCardInRestrictedIndustriesConsumer',
UseChargeCard = 'useChargeCard',
UseChargeCardCommercial = 'useChargeCardCommercial',
WithdrawFromAtm = 'withdrawFromAtm',
WithdrawFromAtmCommercial = 'withdrawFromAtmCommercial',
WithdrawFromAtmConsumer = 'withdrawFromAtmConsumer',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ export namespace VerificationErrorRecursive {
IssueCard = 'issueCard',
IssueCardCommercial = 'issueCardCommercial',
IssueCardConsumer = 'issueCardConsumer',
IssueChargeCard = 'issueChargeCard',
IssueChargeCardCommercial = 'issueChargeCardCommercial',
IssueCreditLimit = 'issueCreditLimit',
LocalAcceptance = 'localAcceptance',
Payout = 'payout',
Expand All @@ -112,6 +114,8 @@ export namespace VerificationErrorRecursive {
UseCardInRestrictedIndustries = 'useCardInRestrictedIndustries',
UseCardInRestrictedIndustriesCommercial = 'useCardInRestrictedIndustriesCommercial',
UseCardInRestrictedIndustriesConsumer = 'useCardInRestrictedIndustriesConsumer',
UseChargeCard = 'useChargeCard',
UseChargeCardCommercial = 'useChargeCardCommercial',
WithdrawFromAtm = 'withdrawFromAtm',
WithdrawFromAtmCommercial = 'withdrawFromAtmCommercial',
WithdrawFromAtmConsumer = 'withdrawFromAtmConsumer',
Expand Down
4 changes: 4 additions & 0 deletions src/typings/legalEntityManagement/verificationDeadline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ export namespace VerificationDeadline {
IssueCard = 'issueCard',
IssueCardCommercial = 'issueCardCommercial',
IssueCardConsumer = 'issueCardConsumer',
IssueChargeCard = 'issueChargeCard',
IssueChargeCardCommercial = 'issueChargeCardCommercial',
IssueCreditLimit = 'issueCreditLimit',
LocalAcceptance = 'localAcceptance',
Payout = 'payout',
Expand All @@ -93,6 +95,8 @@ export namespace VerificationDeadline {
UseCardInRestrictedIndustries = 'useCardInRestrictedIndustries',
UseCardInRestrictedIndustriesCommercial = 'useCardInRestrictedIndustriesCommercial',
UseCardInRestrictedIndustriesConsumer = 'useCardInRestrictedIndustriesConsumer',
UseChargeCard = 'useChargeCard',
UseChargeCardCommercial = 'useChargeCardCommercial',
WithdrawFromAtm = 'withdrawFromAtm',
WithdrawFromAtmCommercial = 'withdrawFromAtmCommercial',
WithdrawFromAtmConsumer = 'withdrawFromAtmConsumer',
Expand Down
4 changes: 4 additions & 0 deletions src/typings/legalEntityManagement/verificationError.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ export namespace VerificationError {
IssueCard = 'issueCard',
IssueCardCommercial = 'issueCardCommercial',
IssueCardConsumer = 'issueCardConsumer',
IssueChargeCard = 'issueChargeCard',
IssueChargeCardCommercial = 'issueChargeCardCommercial',
IssueCreditLimit = 'issueCreditLimit',
LocalAcceptance = 'localAcceptance',
Payout = 'payout',
Expand All @@ -122,6 +124,8 @@ export namespace VerificationError {
UseCardInRestrictedIndustries = 'useCardInRestrictedIndustries',
UseCardInRestrictedIndustriesCommercial = 'useCardInRestrictedIndustriesCommercial',
UseCardInRestrictedIndustriesConsumer = 'useCardInRestrictedIndustriesConsumer',
UseChargeCard = 'useChargeCard',
UseChargeCardCommercial = 'useChargeCardCommercial',
WithdrawFromAtm = 'withdrawFromAtm',
WithdrawFromAtmCommercial = 'withdrawFromAtmCommercial',
WithdrawFromAtmConsumer = 'withdrawFromAtmConsumer',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ export namespace VerificationErrorRecursive {
IssueCard = 'issueCard',
IssueCardCommercial = 'issueCardCommercial',
IssueCardConsumer = 'issueCardConsumer',
IssueChargeCard = 'issueChargeCard',
IssueChargeCardCommercial = 'issueChargeCardCommercial',
IssueCreditLimit = 'issueCreditLimit',
LocalAcceptance = 'localAcceptance',
Payout = 'payout',
Expand All @@ -112,6 +114,8 @@ export namespace VerificationErrorRecursive {
UseCardInRestrictedIndustries = 'useCardInRestrictedIndustries',
UseCardInRestrictedIndustriesCommercial = 'useCardInRestrictedIndustriesCommercial',
UseCardInRestrictedIndustriesConsumer = 'useCardInRestrictedIndustriesConsumer',
UseChargeCard = 'useChargeCard',
UseChargeCardCommercial = 'useChargeCardCommercial',
WithdrawFromAtm = 'withdrawFromAtm',
WithdrawFromAtmCommercial = 'withdrawFromAtmCommercial',
WithdrawFromAtmConsumer = 'withdrawFromAtmConsumer',
Expand Down
9 changes: 9 additions & 0 deletions src/typings/reportWebhooks/reportNotificationData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ export class ReportNotificationData {
*/
'fileName': string;
/**
* The ID of the resource.
*/
'id'?: string;
/**
* The type of report. Possible values: - `balanceplatform_accounting_interactive_report` - `balanceplatform_accounting_report` - `balanceplatform_balance_report` - `balanceplatform_fee_report` - `balanceplatform_payment_instrument_report` - `balanceplatform_payout_report` - `balanceplatform_statement_report`
*/
'reportType': string;
Expand Down Expand Up @@ -66,6 +70,11 @@ export class ReportNotificationData {
"baseName": "fileName",
"type": "string"
},
{
"name": "id",
"baseName": "id",
"type": "string"
},
{
"name": "reportType",
"baseName": "reportType",
Expand Down
Loading