@codat/bank-feeds
Advanced tools
Comparing version 0.13.0 to 0.13.1
@@ -62,4 +62,4 @@ "use strict"; | ||
this._language = "typescript"; | ||
this._sdkVersion = "0.13.0"; | ||
this._genVersion = "2.23.0"; | ||
this._sdkVersion = "0.13.1"; | ||
this._genVersion = "2.23.1"; | ||
this._serverURL = (_a = props === null || props === void 0 ? void 0 : props.serverURL) !== null && _a !== void 0 ? _a : exports.ServerList[0]; | ||
@@ -66,0 +66,0 @@ this._defaultClient = |
{ | ||
"name": "@codat/bank-feeds", | ||
"version": "0.13.0", | ||
"version": "0.13.1", | ||
"author": "Speakeasy", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -25,3 +25,3 @@ # Bank Feeds API | ||
import { CodatBankFeeds } from "@codat/bank-feeds"; | ||
import { CreateBankTransactionsRequest, CreateBankTransactionsResponse } from "@codat/bank-feeds/dist/sdk/models/operations"; | ||
import { CreateBankTransactionsResponse } from "@codat/bank-feeds/dist/sdk/models/operations"; | ||
import { | ||
@@ -41,3 +41,3 @@ BankTransactionTypeEnum, | ||
const req: CreateBankTransactionsRequest = { | ||
sdk.bankAccountTransactions.createBankTransactions({ | ||
bankTransactions: { | ||
@@ -92,6 +92,4 @@ accountId: "corrupti", | ||
timeoutInMinutes: 110375, | ||
}; | ||
sdk.bankAccountTransactions.createBankTransactions(req).then((res: CreateBankTransactionsResponse | AxiosError) => { | ||
if (res instanceof UsageExamplePostResponse && res.statusCode == 200) { | ||
}).then((res: CreateBankTransactionsResponse | AxiosError) => { | ||
if (res instanceof CreateBankTransactionsResponse && res.statusCode == 200) { | ||
// handle response | ||
@@ -98,0 +96,0 @@ } |
219079
116