Comparing version 0.49.5 to 0.49.6
@@ -61,3 +61,3 @@ "use strict"; | ||
var GET_CARD = "\n query getCard (\n $id: String,\n $type: CardType\n ) {\n viewer {\n mainAccount {\n card(\n filter: {\n id: $id,\n type: $type\n }\n ) {\n ".concat(CARD_FIELDS, "\n }\n }\n }\n }\n"); | ||
var GET_CARD_LIMITS = "\n query getCardLimits (\n $id: String,\n $type: CardType\n ) {\n viewer {\n mainAccount {\n card(\n filter: {\n id: $id,\n type: $type\n }\n ) {\n settings {\n cardPresentLimits {\n ".concat(CARD_LIMITS_FIELDS, "\n }\n cardNotPresentLimits {\n ").concat(CARD_LIMITS_FIELDS, "\n }\n atmLimits {\n ").concat(CARD_LIMITS_FIELDS, "\n }\n purchaseLimits {\n ").concat(CARD_LIMITS_FIELDS, "\n }\n }\n }\n }\n }\n }\n"); | ||
var GET_CARD_LIMITS = "\n query getCardLimits (\n $id: String,\n $type: CardType\n ) {\n viewer {\n mainAccount {\n card(\n filter: {\n id: $id,\n type: $type\n }\n ) {\n settings {\n cardPresentLimits {\n ".concat(CARD_LIMITS_FIELDS, "\n }\n cardNotPresentLimits {\n ").concat(CARD_LIMITS_FIELDS, "\n }\n cardSpendingLimits {\n atm {\n ").concat(CARD_LIMITS_FIELDS, "\n }\n purchase {\n ").concat(CARD_LIMITS_FIELDS, "\n }\n }\n }\n }\n }\n }\n }\n"); | ||
var GET_CARD_PIN_KEY = "\n query getCardPinKey (\n $id: String,\n $type: CardType\n ) {\n viewer {\n mainAccount {\n card(\n filter: {\n id: $id,\n type: $type\n }\n ) {\n pinKey {\n kid\n kty\n use\n alg\n n\n e\n }\n }\n }\n }\n }\n"; | ||
@@ -64,0 +64,0 @@ var CHANGE_CARD_PIN_ENCRYPTED = "mutation changeCardPINEncrypted(\n $id: String!\n $payload: ChangeCardPINEncryptedInput!\n) {\n changeCardPINEncrypted(\n id: $id\n payload: $payload\n ) {\n ".concat(CARD_FIELDS, "\n }\n}"); |
{ | ||
"name": "kontist", | ||
"version": "0.49.5", | ||
"version": "0.49.6", | ||
"description": "Kontist client SDK", | ||
@@ -5,0 +5,0 @@ "main": "dist/lib/index.js", |
@@ -49,2 +49,24 @@ import { expect } from "chai"; | ||
}, | ||
cardSpendingLimits: { | ||
atm: { | ||
daily: { | ||
maxAmountCents: 440000, | ||
maxTransactions: 14, | ||
}, | ||
monthly: { | ||
maxAmountCents: 2600000, | ||
maxTransactions: 468, | ||
}, | ||
}, | ||
purchase: { | ||
daily: { | ||
maxAmountCents: 440000, | ||
maxTransactions: 14, | ||
}, | ||
monthly: { | ||
maxAmountCents: 2600000, | ||
maxTransactions: 468, | ||
}, | ||
}, | ||
}, | ||
}; | ||
@@ -51,0 +73,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
966825
17178