Skip to content
Open
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
46 changes: 46 additions & 0 deletions src/typings/relayedAuthorizationWebhooks/amount.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
/*
* The version of the OpenAPI document: v4
*
*
* 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 Amount {
/**
* The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes#currency-codes) of the amount.
*/
"currency": string;
/**
* The numeric value of the amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes#minor-units).
*/
"value": number;

static readonly discriminator: string | undefined = undefined;

static readonly mapping: {[index: string]: string} | undefined = undefined;

static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
{
"name": "currency",
"baseName": "currency",
"type": "string",
"format": ""
},
{
"name": "value",
"baseName": "value",
"type": "number",
"format": "int64"
} ];

static getAttributeTypeMap() {
return Amount.attributeTypeMap;
}

public constructor() {
}
}

84 changes: 84 additions & 0 deletions src/typings/relayedAuthorizationWebhooks/amountAdjustment.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
/*
* The version of the OpenAPI document: v4
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit this class manually.
*/

import { Amount } from "./amount";


export class AmountAdjustment {
"amount"?: Amount | null;
/**
* The type of markup that is applied to an authorised payment. Possible values: **exchange**, **forexMarkup**, **authHoldReserve**, **atmMarkup**.
*/
"amountAdjustmentType"?: AmountAdjustment.AmountAdjustmentTypeEnum;
/**
* The basepoints associated with the applied markup.
*/
"basepoints"?: number;
"fixedAmount"?: Amount | null;
"floorAmount"?: Amount | null;
"limitAmount"?: Amount | null;

static readonly discriminator: string | undefined = undefined;

static readonly mapping: {[index: string]: string} | undefined = undefined;

static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
{
"name": "amount",
"baseName": "amount",
"type": "Amount | null",
"format": ""
},
{
"name": "amountAdjustmentType",
"baseName": "amountAdjustmentType",
"type": "AmountAdjustment.AmountAdjustmentTypeEnum",
"format": ""
},
{
"name": "basepoints",
"baseName": "basepoints",
"type": "number",
"format": "int32"
},
{
"name": "fixedAmount",
"baseName": "fixedAmount",
"type": "Amount | null",
"format": ""
},
{
"name": "floorAmount",
"baseName": "floorAmount",
"type": "Amount | null",
"format": ""
},
{
"name": "limitAmount",
"baseName": "limitAmount",
"type": "Amount | null",
"format": ""
} ];

static getAttributeTypeMap() {
return AmountAdjustment.attributeTypeMap;
}

public constructor() {
}
}

export namespace AmountAdjustment {
export enum AmountAdjustmentTypeEnum {
AtmMarkup = 'atmMarkup',
AuthHoldReserve = 'authHoldReserve',
Exchange = 'exchange',
ForexMarkup = 'forexMarkup'
}
}
55 changes: 55 additions & 0 deletions src/typings/relayedAuthorizationWebhooks/authentication.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
/*
* The version of the OpenAPI document: v4
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit this class manually.
*/

import { Phone } from "./phone";


export class Authentication {
/**
* The email address where the one-time password (OTP) is sent.
*/
"email"?: string;
/**
* The password used for 3D Secure password-based authentication. The value must be between 1 to 30 characters and must only contain the following supported characters. * Characters between **a-z**, **A-Z**, and **0-9** * Special characters: **äöüßÄÖÜ+-*_/ç%()=?!~#\'\",;:$&àùòâôûáúó**
*/
"password"?: string;
"phone"?: Phone | null;

static readonly discriminator: string | undefined = undefined;

static readonly mapping: {[index: string]: string} | undefined = undefined;

static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
{
"name": "email",
"baseName": "email",
"type": "string",
"format": ""
},
{
"name": "password",
"baseName": "password",
"type": "string",
"format": ""
},
{
"name": "phone",
"baseName": "phone",
"type": "Phone | null",
"format": ""
} ];

static getAttributeTypeMap() {
return Authentication.attributeTypeMap;
}

public constructor() {
}
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
/*
* The version of the OpenAPI document: v4
*
*
* 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 AuthorisationDecisionRequest {
/**
* The reason of the authorization decision.
*/
"reasonCode"?: string;
/**
* The status of the authorization decision. Possible values: **Authorised** or **Refused**.
*/
"status"?: string;
/**
* The code of the authorization decision.
*/
"statusCode"?: string;

static readonly discriminator: string | undefined = undefined;

static readonly mapping: {[index: string]: string} | undefined = undefined;

static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
{
"name": "reasonCode",
"baseName": "reasonCode",
"type": "string",
"format": ""
},
{
"name": "status",
"baseName": "status",
"type": "string",
"format": ""
},
{
"name": "statusCode",
"baseName": "statusCode",
"type": "string",
"format": ""
} ];

static getAttributeTypeMap() {
return AuthorisationDecisionRequest.attributeTypeMap;
}

public constructor() {
}
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
/*
* The version of the OpenAPI document: v4
*
*
* 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 AuthorisationDecisionResponse {
/**
* The reason for refusing the authorization.
*/
"refusalReason"?: string;
/**
* The status of the authorization. Possible values: * **Authorised** * **Refused** For more information, refer to [Use relayed authorization](https://docs.adyen.com/issuing/authorisation/relayed-authorisation/).
*/
"status": AuthorisationDecisionResponse.StatusEnum;

static readonly discriminator: string | undefined = undefined;

static readonly mapping: {[index: string]: string} | undefined = undefined;

static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
{
"name": "refusalReason",
"baseName": "refusalReason",
"type": "string",
"format": ""
},
{
"name": "status",
"baseName": "status",
"type": "AuthorisationDecisionResponse.StatusEnum",
"format": ""
} ];

static getAttributeTypeMap() {
return AuthorisationDecisionResponse.attributeTypeMap;
}

public constructor() {
}
}

export namespace AuthorisationDecisionResponse {
export enum StatusEnum {
Authorised = 'Authorised',
Refused = 'Refused'
}
}
69 changes: 69 additions & 0 deletions src/typings/relayedAuthorizationWebhooks/balanceMutation.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
/*
* The version of the OpenAPI document: v4
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit this class manually.
*/

import { Amount } from "./amount";


export class BalanceMutation {
"balanceAfter"?: Amount | null;
"balanceBefore"?: Amount | null;
/**
* The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes).
*/
"currency"?: string;
"mutationAmount"?: Amount | null;
/**
* The type of the mutation.
*/
"type"?: string;

static readonly discriminator: string | undefined = undefined;

static readonly mapping: {[index: string]: string} | undefined = undefined;

static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
{
"name": "balanceAfter",
"baseName": "balanceAfter",
"type": "Amount | null",
"format": ""
},
{
"name": "balanceBefore",
"baseName": "balanceBefore",
"type": "Amount | null",
"format": ""
},
{
"name": "currency",
"baseName": "currency",
"type": "string",
"format": ""
},
{
"name": "mutationAmount",
"baseName": "mutationAmount",
"type": "Amount | null",
"format": ""
},
{
"name": "type",
"baseName": "type",
"type": "string",
"format": ""
} ];

static getAttributeTypeMap() {
return BalanceMutation.attributeTypeMap;
}

public constructor() {
}
}

Loading