Comparing version 2.9.6 to 2.9.7-beta.0
151
atrium.d.ts
@@ -14,6 +14,9 @@ import localVarRequest = require('request'); | ||
'createdAt'?: string; | ||
'creditCardProductGuid'?: string; | ||
'creditLimit'?: number; | ||
'currencyCode'?: string; | ||
'currentRewardLevel'?: string; | ||
'dayPaymentIsDue'?: number; | ||
'deathBenefit'?: number; | ||
'enrolledInRewardsOn'?: string; | ||
'guid'?: string; | ||
@@ -31,5 +34,7 @@ 'holdingsValue'?: number; | ||
'name'?: string; | ||
'nextRewardLevel'?: string; | ||
'originalBalance'?: number; | ||
'paymentDueAt'?: string; | ||
'payoffBalance'?: number; | ||
'primaryRewardUnit'?: string; | ||
'startedOn'?: string; | ||
@@ -328,2 +333,36 @@ 'subtype'?: string; | ||
} | ||
export declare class CreditCardProduct { | ||
'guid'?: string; | ||
'name'?: string; | ||
'annualFee'?: number; | ||
'hasCashbackRewards'?: boolean; | ||
'hasTravelRewards'?: boolean; | ||
'isSmallBusinessCard'?: boolean; | ||
'hasZeroPercentIntroductoryRate'?: boolean; | ||
static discriminator: string | undefined; | ||
static attributeTypeMap: Array<{ | ||
name: string; | ||
baseName: string; | ||
type: string; | ||
}>; | ||
static getAttributeTypeMap(): { | ||
name: string; | ||
baseName: string; | ||
type: string; | ||
}[]; | ||
} | ||
export declare class CreditCardProductResponseBody { | ||
'creditCardProduct'?: CreditCardProduct; | ||
static discriminator: string | undefined; | ||
static attributeTypeMap: Array<{ | ||
name: string; | ||
baseName: string; | ||
type: string; | ||
}>; | ||
static getAttributeTypeMap(): { | ||
name: string; | ||
baseName: string; | ||
type: string; | ||
}[]; | ||
} | ||
export declare class Holding { | ||
@@ -668,2 +707,54 @@ 'accountGuid'?: string; | ||
} | ||
export declare class Reward { | ||
'accountGuid'?: string; | ||
'balance'?: number; | ||
'balanceType'?: string; | ||
'createdAt'?: string; | ||
'description'?: string; | ||
'expiresOn'?: string; | ||
'guid'?: string; | ||
'memberGuid'?: string; | ||
'unitType'?: string; | ||
'updatedAt'?: string; | ||
'userGuid'?: string; | ||
static discriminator: string | undefined; | ||
static attributeTypeMap: Array<{ | ||
name: string; | ||
baseName: string; | ||
type: string; | ||
}>; | ||
static getAttributeTypeMap(): { | ||
name: string; | ||
baseName: string; | ||
type: string; | ||
}[]; | ||
} | ||
export declare class RewardResponseBody { | ||
'reward'?: Reward; | ||
static discriminator: string | undefined; | ||
static attributeTypeMap: Array<{ | ||
name: string; | ||
baseName: string; | ||
type: string; | ||
}>; | ||
static getAttributeTypeMap(): { | ||
name: string; | ||
baseName: string; | ||
type: string; | ||
}[]; | ||
} | ||
export declare class RewardsResponseBody { | ||
'rewards'?: Array<Reward>; | ||
static discriminator: string | undefined; | ||
static attributeTypeMap: Array<{ | ||
name: string; | ||
baseName: string; | ||
type: string; | ||
}>; | ||
static getAttributeTypeMap(): { | ||
name: string; | ||
baseName: string; | ||
type: string; | ||
}[]; | ||
} | ||
export declare class Statement { | ||
@@ -768,2 +859,3 @@ 'accountGuid'?: string; | ||
'identifier'?: string; | ||
'merchantCategoryCode'?: number; | ||
'type'?: string; | ||
@@ -796,2 +888,5 @@ static discriminator: string | undefined; | ||
'isPayrollAdvance'?: boolean; | ||
'merchantCategoryCode'?: number; | ||
'merchantGuid'?: string; | ||
'originalDescription'?: string; | ||
static discriminator: string | undefined; | ||
@@ -1022,2 +1117,25 @@ static attributeTypeMap: Array<{ | ||
} | ||
export declare enum CreditCardProductsApiApiKeys { | ||
apiKey = 0, | ||
clientID = 1 | ||
} | ||
export declare class CreditCardProductsApi { | ||
protected _basePath: string; | ||
protected defaultHeaders: any; | ||
protected _useQuerystring: boolean; | ||
protected authentications: { | ||
'default': Authentication; | ||
'apiKey': ApiKeyAuth; | ||
'clientID': ApiKeyAuth; | ||
}; | ||
constructor(basePath?: string); | ||
useQuerystring: boolean; | ||
basePath: string; | ||
setDefaultAuthentication(auth: Authentication): void; | ||
setApiKey(key: CreditCardProductsApiApiKeys, value: string): void; | ||
readCreditCardProduct(creditCardProductGuid: string): Promise<{ | ||
response: http.IncomingMessage; | ||
body: CreditCardProductResponseBody; | ||
}>; | ||
} | ||
export declare enum HoldingsApiApiKeys { | ||
@@ -1214,2 +1332,33 @@ apiKey = 0, | ||
} | ||
export declare enum RewardsApiApiKeys { | ||
apiKey = 0, | ||
clientID = 1 | ||
} | ||
export declare class RewardsApi { | ||
protected _basePath: string; | ||
protected defaultHeaders: any; | ||
protected _useQuerystring: boolean; | ||
protected authentications: { | ||
'default': Authentication; | ||
'apiKey': ApiKeyAuth; | ||
'clientID': ApiKeyAuth; | ||
}; | ||
constructor(basePath?: string); | ||
useQuerystring: boolean; | ||
basePath: string; | ||
setDefaultAuthentication(auth: Authentication): void; | ||
setApiKey(key: RewardsApiApiKeys, value: string): void; | ||
fetchRewards(memberGuid: string, userGuid: string): Promise<{ | ||
response: http.IncomingMessage; | ||
body: MemberResponseBody; | ||
}>; | ||
listRewards(memberGuid: string, userGuid: string): Promise<{ | ||
response: http.IncomingMessage; | ||
body: RewardsResponseBody; | ||
}>; | ||
readReward(memberGuid: string, rewardGuid: string, userGuid: string): Promise<{ | ||
response: http.IncomingMessage; | ||
body: RewardResponseBody; | ||
}>; | ||
} | ||
export declare enum StatementsApiApiKeys { | ||
@@ -1356,2 +1505,3 @@ apiKey = 0, | ||
connectWidget: ConnectWidgetApi; | ||
creditCardProducts: CreditCardProductsApi; | ||
holdings: HoldingsApi; | ||
@@ -1362,2 +1512,3 @@ identity: IdentityApi; | ||
merchants: MerchantsApi; | ||
rewards: RewardsApi; | ||
statements: StatementsApi; | ||
@@ -1364,0 +1515,0 @@ transactions: TransactionsApi; |
{ | ||
"name": "mx-atrium", | ||
"version": "2.9.6", | ||
"version": "2.9.7-beta.0", | ||
"description": "NodeJS client for mx-atrium-node", | ||
@@ -5,0 +5,0 @@ "repository": "mxenabled/mx-atrium-node", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
392050
6949
2