Comparing version 0.49.26 to 0.49.27
@@ -87,3 +87,3 @@ "use strict"; | ||
exports.NEW_TRANSACTION_SUBSCRIPTION = "subscription {\n newTransaction {\n ".concat(TRANSACTION_FIELDS, "\n ").concat(TRANSACTION_DETAILS, "\n }\n}"); | ||
var getUpdateTransactionMutation = function (fields) { return "mutation updateTransaction(\n $id: String!\n $category: TransactionCategory,\n $userSelectedBookingDate: DateTime,\n $personalNote: String,\n $vatRate: VatRate,\n $categoryCode: String,\n $vatCategoryCode: String,\n $splits: [TransactionSplitsInput!],\n) {\n updateTransaction(\n id: $id\n category: $category\n userSelectedBookingDate: $userSelectedBookingDate\n personalNote: $personalNote\n vatRate: $vatRate\n categoryCode: $categoryCode\n vatCategoryCode: $vatCategoryCode\n splits: $splits\n ) {\n ".concat(fields, "\n }\n}"); }; | ||
var getUpdateTransactionMutation = function (fields) { return "mutation updateTransaction(\n $id: String!\n $category: TransactionCategory,\n $userSelectedBookingDate: DateTime,\n $personalNote: String,\n $vatRate: VatRate,\n $categoryCode: String,\n $vatCategoryCode: String,\n $splits: [TransactionSplitInput!],\n) {\n updateTransaction(\n id: $id\n category: $category\n userSelectedBookingDate: $userSelectedBookingDate\n personalNote: $personalNote\n vatRate: $vatRate\n categoryCode: $categoryCode\n vatCategoryCode: $vatCategoryCode\n splits: $splits\n ) {\n ".concat(fields, "\n }\n}"); }; | ||
exports.getUpdateTransactionMutation = getUpdateTransactionMutation; | ||
@@ -93,3 +93,3 @@ var DEFAULT_SPLIT_TRANSACTION_FIELDS = "\n".concat(TRANSACTION_FIELDS, "\n").concat(TRANSACTION_DETAILS, "\n"); | ||
if (fields === void 0) { fields = DEFAULT_SPLIT_TRANSACTION_FIELDS; } | ||
return "mutation createTransactionSplits(\n $transactionId: ID!\n $splits: [CreateTransactionSplitsInput!]!\n) {\n createTransactionSplits(\n transactionId: $transactionId\n splits: $splits\n ) {\n ".concat(fields, "\n }\n}"); | ||
return "mutation createTransactionSplits(\n $transactionId: ID!\n $splits: [CreateTransactionSplitInput!]!\n) {\n createTransactionSplits(\n transactionId: $transactionId\n splits: $splits\n ) {\n ".concat(fields, "\n }\n}"); | ||
}; | ||
@@ -104,3 +104,3 @@ exports.getCreateSplitTransactionMutation = getCreateSplitTransactionMutation; | ||
if (fields === void 0) { fields = DEFAULT_SPLIT_TRANSACTION_FIELDS; } | ||
return "mutation updateTransactionSplits(\n $transactionId: ID!\n $splits: [UpdateTransactionSplitsInput!]!\n) {\n updateTransactionSplits(\n transactionId: $transactionId\n splits: $splits\n ) {\n ".concat(fields, "\n }\n}"); | ||
return "mutation updateTransactionSplits(\n $transactionId: ID!\n $splits: [UpdateTransactionSplitInput!]!\n) {\n updateTransactionSplits(\n transactionId: $transactionId\n splits: $splits\n ) {\n ".concat(fields, "\n }\n}"); | ||
}; | ||
@@ -107,0 +107,0 @@ exports.getUpdateSplitTransactionMutation = getUpdateSplitTransactionMutation; |
{ | ||
"name": "kontist", | ||
"version": "0.49.26", | ||
"version": "0.49.27", | ||
"description": "Kontist client SDK", | ||
@@ -5,0 +5,0 @@ "main": "dist/lib/index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
1041952
18398