citi-oauth
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -1,2 +0,2 @@ | ||
import CitiOAuth from "."; | ||
import CitiOAuth from '.'; | ||
export default class CitiReward { | ||
@@ -3,0 +3,0 @@ citi: CitiOAuth; |
@@ -13,4 +13,3 @@ "use strict"; | ||
} | ||
async createLinkCode() { | ||
} | ||
async createLinkCode() { } | ||
async getPointBalance(countryCode = 'US', cloakedCreditCardNumber) { | ||
@@ -31,6 +30,6 @@ const url = `/v1/rewards/pointBalance`; | ||
businesscode: 'GCB', | ||
countrycode: countryCode, | ||
countrycode: countryCode.toUpperCase(), | ||
'content-type': 'application/json', | ||
uuid: v4_1.default(), | ||
client_id: this.citi.appId | ||
client_id: this.citi.appId, | ||
}; | ||
@@ -41,2 +40,2 @@ return await this.citi.wrap(axios_1.default.get)(url + '?' + querystring_1.default.stringify(qs), { headers }); | ||
exports.default = CitiReward; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmV3YXJkLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL3Jld2FyZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLGtEQUF5QjtBQUN6Qiw4REFBcUM7QUFFckMsaURBQTBCO0FBRTFCLE1BQXFCLFVBQVU7SUFFM0IsWUFBWSxJQUFlO1FBQ3ZCLElBQUksQ0FBQyxJQUFJLEdBQUcsSUFBSSxDQUFDO0lBQ3JCLENBQUM7SUFFTSxLQUFLLENBQUMsY0FBYztJQUUzQixDQUFDO0lBRU0sS0FBSyxDQUFDLGVBQWUsQ0FBQyxjQUFzQixJQUFJLEVBQUUsdUJBQWdDO1FBQ3JGLE1BQU0sR0FBRyxHQUFHLDBCQUEwQixDQUFBO1FBQ3RDLE1BQU0sRUFBRSxHQUFRO1lBQ1osdUJBQXVCO1lBQ3ZCLFlBQVksRUFBRSxPQUFPO1lBQ3JCLGFBQWEsRUFBRSxRQ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FBbENELDZCQWtDQyJ9 |
{ | ||
"name": "citi-oauth", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "citi oauth typescript version", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
201619
1281