Comparing version 0.50.5 to 0.50.6
@@ -83,3 +83,3 @@ "use strict"; | ||
exports.TRANSACTION_FIELDS = "\n id\n amount\n name\n iban\n type\n bookingDate\n valutaDate\n paymentMethod\n category\n categoryCode\n vatCategoryCode\n vatRate\n categorizationType\n userSelectedBookingDate\n purpose\n personalNote\n originalAmount\n foreignCurrency\n createdAt\n splits {\n id\n amount\n category\n categoryCode\n userSelectedBookingDate\n categorizationType\n vatCategoryCode\n }\n recurlyInvoiceNumber\n canBeRecategorized\n"; | ||
var TRANSACTION_DETAILS = "\n assets {\n ".concat(ASSET_FIELDS, "\n }\n documentNumber\n documentPreviewUrl\n documentDownloadUrl\n documentType\n e2eId\n mandateNumber\n"); | ||
var TRANSACTION_DETAILS = "\n assets {\n ".concat(ASSET_FIELDS, "\n }\n documentNumber\n documentPreviewUrl\n documentDownloadUrl\n documentType\n mandateNumber\n"); | ||
var getFetchTransactionsQuery = function (fields) { return "\n query fetchTransactions ($first: Int, $last: Int, $after: String, $before: String, $filter: TransactionFilter, $preset: FilterPresetInput) {\n viewer {\n mainAccount {\n transactions(first: $first, last: $last, after: $after, before: $before, filter: $filter, preset: $preset) {\n edges {\n node {\n ".concat(fields, "\n }\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n }\n }\n"); }; | ||
@@ -86,0 +86,0 @@ var getFetchTransactionQuery = function (fields) { return "\n query fetchTransaction ($id: ID!) {\n viewer {\n mainAccount {\n transaction(id: $id) {\n ".concat(fields, "\n }\n }\n }\n }\n"); }; |
@@ -57,7 +57,7 @@ "use strict"; | ||
var resultPage_1 = require("./resultPage"); | ||
var TRANSFER_FIELDS = "\n id\n recipient\n iban\n amount\n status\n executeAt\n lastExecutionDate\n purpose\n e2eId\n reoccurrence\n nextOccurrence\n category\n userSelectedBookingDate\n personalNote\n"; | ||
var TRANSFER_FIELDS = "\n id\n recipient\n iban\n amount\n status\n executeAt\n lastExecutionDate\n purpose\n reoccurrence\n nextOccurrence\n category\n userSelectedBookingDate\n personalNote\n"; | ||
var CREATE_TRANSFER = "mutation createTransfer(\n $transfer: CreateTransferInput!\n $deviceId: String\n $deliveryMethod: DeliveryMethod\n) {\n createTransfer(\n transfer: $transfer\n deviceId: $deviceId\n deliveryMethod: $deliveryMethod\n ) {\n confirmationId\n stringToSign\n }\n}"; | ||
var CONFIRM_TRANSFER = "mutation confirmTransfer(\n $confirmationId: String!\n $authorizationToken: String\n $signature: String\n $deviceId: String\n) {\n confirmTransfer(\n confirmationId: $confirmationId\n authorizationToken: $authorizationToken\n signature: $signature\n deviceId: $deviceId\n ) {\n ".concat(TRANSFER_FIELDS, "\n }\n}"); | ||
var CREATE_TRANSFERS = "mutation createTransfers(\n $transfers: [CreateSepaTransferInput!]!\n) {\n createTransfers(transfers: $transfers) {\n confirmationId\n }\n}"; | ||
var CONFIRM_TRANSFERS = "mutation confirmTransfers(\n $confirmationId: String!\n $authorizationToken: String!\n) {\n confirmTransfers(\n confirmationId: $confirmationId\n authorizationToken: $authorizationToken\n ) {\n id\n status\n transfers {\n id\n status\n recipient\n iban\n purpose\n amount\n e2eId\n }\n }\n}"; | ||
var CONFIRM_TRANSFERS = "mutation confirmTransfers(\n $confirmationId: String!\n $authorizationToken: String!\n) {\n confirmTransfers(\n confirmationId: $confirmationId\n authorizationToken: $authorizationToken\n ) {\n id\n status\n transfers {\n id\n status\n recipient\n iban\n purpose\n amount\n }\n }\n}"; | ||
var CANCEL_TRANSFER = "mutation cancelTransfer(\n $type: TransferType!,\n $id: String!,\n $deviceId: String,\n $deliveryMethod: DeliveryMethod\n) {\n cancelTransfer(\n type: $type,\n id: $id,\n deviceId: $deviceId,\n deliveryMethod: $deliveryMethod\n ) {\n ... on ConfirmationRequest {\n confirmationId\n stringToSign\n }\n\n ... on Transfer {\n ".concat(TRANSFER_FIELDS, "\n }\n }\n}"); | ||
@@ -64,0 +64,0 @@ var CONFIRM_CANCEL_TRANSFER = "mutation confirmCancelTransfer(\n $type: TransferType!\n $confirmationId: String!\n $authorizationToken: String\n $deviceId: String\n $signature: String\n) {\n confirmCancelTransfer(\n type: $type\n confirmationId: $confirmationId\n authorizationToken: $authorizationToken\n deviceId: $deviceId\n signature: $signature\n ) {\n ".concat(TRANSFER_FIELDS, "\n }\n}"); |
{ | ||
"name": "kontist", | ||
"version": "0.50.5", | ||
"version": "0.50.6", | ||
"description": "Kontist client SDK", | ||
@@ -5,0 +5,0 @@ "main": "dist/lib/index.js", |
@@ -33,3 +33,2 @@ import { expect } from "chai"; | ||
purpose: "money1", | ||
e2eId: "e2e-1", | ||
reoccurrence: StandingOrderReoccurrenceType.Annually, | ||
@@ -109,3 +108,2 @@ lastExecutionDate: "2022-02-01", | ||
purpose: "money1", | ||
e2eId: "e2e-1", | ||
reoccurrence: StandingOrderReoccurrenceType.Annually, | ||
@@ -119,3 +117,2 @@ lastExecutionDate: "2022-02-01", | ||
purpose: "money2", | ||
e2eId: "e2e-2", | ||
reoccurrence: StandingOrderReoccurrenceType.EverySixMonths, | ||
@@ -432,3 +429,2 @@ lastExecutionDate: "2022-02-02", | ||
purpose: "some money", | ||
e2eId: "some-e2e-id", | ||
reoccurrence: StandingOrderReoccurrenceType.Annually, | ||
@@ -435,0 +431,0 @@ lastExecutionDate: "2022-02-02", |
@@ -56,3 +56,2 @@ import { | ||
amount: parseInt((Math.random() * 100).toString(), 10), | ||
e2eId: "some-e2e-id", | ||
executeAt: null, | ||
@@ -59,0 +58,0 @@ iban: "DE32110101001000000029", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1089668
19391