From e7006a1c5547bb42b1459c090e9c044a2e0bed2a Mon Sep 17 00:00:00 2001 From: Brady Holt Date: Mon, 16 Sep 2024 16:52:02 -0500 Subject: [PATCH] Fix import syntax for fetch-polyfill on ESM build --- dist/apis/AccountsApi.js | 25 +- dist/apis/BudgetsApi.js | 25 +- dist/apis/CategoriesApi.js | 25 +- dist/apis/DeprecatedApi.js | 25 +- dist/apis/MonthsApi.js | 25 +- dist/apis/PayeeLocationsApi.js | 25 +- dist/apis/PayeesApi.js | 25 +- dist/apis/ScheduledTransactionsApi.js | 25 +- dist/apis/TransactionsApi.js | 25 +- dist/apis/UserApi.js | 25 +- dist/browser/ynab.js | 2 +- dist/esm/runtime.d.ts | 10 +- dist/esm/runtime.js | 73 +-- dist/index.js | 19 +- dist/runtime.d.ts | 10 +- dist/runtime.js | 106 ++-- src/runtime.ts | 702 +++++++++++++++----------- src/tsconfig.esm.tsbuildinfo | 2 +- src/tsconfig.json | 1 + 19 files changed, 765 insertions(+), 410 deletions(-) diff --git a/dist/apis/AccountsApi.js b/dist/apis/AccountsApi.js index 49f03a4..eceff4a 100644 --- a/dist/apis/AccountsApi.js +++ b/dist/apis/AccountsApi.js @@ -7,9 +7,32 @@ * * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; Object.defineProperty(exports, "__esModule", { value: true }); exports.AccountsApi = void 0; -const runtime = require("../runtime"); +const runtime = __importStar(require("../runtime")); const index_1 = require("../models/index"); /** * diff --git a/dist/apis/BudgetsApi.js b/dist/apis/BudgetsApi.js index f9b299a..64e5e5a 100644 --- a/dist/apis/BudgetsApi.js +++ b/dist/apis/BudgetsApi.js @@ -7,9 +7,32 @@ * * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; Object.defineProperty(exports, "__esModule", { value: true }); exports.BudgetsApi = void 0; -const runtime = require("../runtime"); +const runtime = __importStar(require("../runtime")); const index_1 = require("../models/index"); /** * diff --git a/dist/apis/CategoriesApi.js b/dist/apis/CategoriesApi.js index d23628e..bb830de 100644 --- a/dist/apis/CategoriesApi.js +++ b/dist/apis/CategoriesApi.js @@ -7,9 +7,32 @@ * * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; Object.defineProperty(exports, "__esModule", { value: true }); exports.CategoriesApi = void 0; -const runtime = require("../runtime"); +const runtime = __importStar(require("../runtime")); const index_1 = require("../models/index"); /** * diff --git a/dist/apis/DeprecatedApi.js b/dist/apis/DeprecatedApi.js index b817a34..7bdf23f 100644 --- a/dist/apis/DeprecatedApi.js +++ b/dist/apis/DeprecatedApi.js @@ -12,9 +12,32 @@ * https://openapi-generator.tech * Do not edit the class manually. */ +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; Object.defineProperty(exports, "__esModule", { value: true }); exports.DeprecatedApi = void 0; -const runtime = require("../runtime"); +const runtime = __importStar(require("../runtime")); const index_1 = require("../models/index"); /** * diff --git a/dist/apis/MonthsApi.js b/dist/apis/MonthsApi.js index 7bba838..c3cd887 100644 --- a/dist/apis/MonthsApi.js +++ b/dist/apis/MonthsApi.js @@ -7,9 +7,32 @@ * * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; Object.defineProperty(exports, "__esModule", { value: true }); exports.MonthsApi = void 0; -const runtime = require("../runtime"); +const runtime = __importStar(require("../runtime")); const index_1 = require("../models/index"); /** * diff --git a/dist/apis/PayeeLocationsApi.js b/dist/apis/PayeeLocationsApi.js index 608f3a9..8eb6bce 100644 --- a/dist/apis/PayeeLocationsApi.js +++ b/dist/apis/PayeeLocationsApi.js @@ -7,9 +7,32 @@ * * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; Object.defineProperty(exports, "__esModule", { value: true }); exports.PayeeLocationsApi = void 0; -const runtime = require("../runtime"); +const runtime = __importStar(require("../runtime")); const index_1 = require("../models/index"); /** * diff --git a/dist/apis/PayeesApi.js b/dist/apis/PayeesApi.js index c41ea03..99652dc 100644 --- a/dist/apis/PayeesApi.js +++ b/dist/apis/PayeesApi.js @@ -7,9 +7,32 @@ * * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; Object.defineProperty(exports, "__esModule", { value: true }); exports.PayeesApi = void 0; -const runtime = require("../runtime"); +const runtime = __importStar(require("../runtime")); const index_1 = require("../models/index"); /** * diff --git a/dist/apis/ScheduledTransactionsApi.js b/dist/apis/ScheduledTransactionsApi.js index 3828995..be06014 100644 --- a/dist/apis/ScheduledTransactionsApi.js +++ b/dist/apis/ScheduledTransactionsApi.js @@ -7,9 +7,32 @@ * * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; Object.defineProperty(exports, "__esModule", { value: true }); exports.ScheduledTransactionsApi = void 0; -const runtime = require("../runtime"); +const runtime = __importStar(require("../runtime")); const index_1 = require("../models/index"); /** * diff --git a/dist/apis/TransactionsApi.js b/dist/apis/TransactionsApi.js index 406ec81..b62c48a 100644 --- a/dist/apis/TransactionsApi.js +++ b/dist/apis/TransactionsApi.js @@ -7,9 +7,32 @@ * * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; Object.defineProperty(exports, "__esModule", { value: true }); exports.GetTransactionsByPayeeTypeEnum = exports.GetTransactionsByMonthTypeEnum = exports.GetTransactionsByCategoryTypeEnum = exports.GetTransactionsByAccountTypeEnum = exports.GetTransactionsTypeEnum = exports.TransactionsApi = void 0; -const runtime = require("../runtime"); +const runtime = __importStar(require("../runtime")); const index_1 = require("../models/index"); /** * diff --git a/dist/apis/UserApi.js b/dist/apis/UserApi.js index c0021d2..582595c 100644 --- a/dist/apis/UserApi.js +++ b/dist/apis/UserApi.js @@ -7,9 +7,32 @@ * * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; Object.defineProperty(exports, "__esModule", { value: true }); exports.UserApi = void 0; -const runtime = require("../runtime"); +const runtime = __importStar(require("../runtime")); const index_1 = require("../models/index"); /** * diff --git a/dist/browser/ynab.js b/dist/browser/ynab.js index 5b0bfc5..1c7c212 100644 --- a/dist/browser/ynab.js +++ b/dist/browser/ynab.js @@ -1 +1 @@ -var ynab;(()=>{var e={7559:function(e,t,n){var a;!function(o){"use strict";function r(e){var n=e&&e.Promise||o.Promise,a=e&&e.XMLHttpRequest||o.XMLHttpRequest;return function(){var e=Object.create(o,{fetch:{value:void 0,writable:!0}});return function(t){var o=void 0!==e&&e||"undefined"!=typeof self&&self||void 0!==o&&o,r="URLSearchParams"in o,i="Symbol"in o&&"iterator"in Symbol,s="FileReader"in o&&"Blob"in o&&function(){try{return new Blob,!0}catch(e){return!1}}(),d="FormData"in o,c="ArrayBuffer"in o;if(c)var u=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(e){return e&&u.indexOf(Object.prototype.toString.call(e))>-1};function p(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function m(e){return"string"!=typeof e&&(e=String(e)),e}function y(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return i&&(t[Symbol.iterator]=function(){return t}),t}function g(e){this.map={},e instanceof g?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function _(e){if(e.bodyUsed)return n.reject(new TypeError("Already read"));e.bodyUsed=!0}function f(e){return new n((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function S(e){var t=new FileReader,n=f(t);return t.readAsArrayBuffer(e),n}function h(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function O(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:s&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:d&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:r&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():c&&s&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=h(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):c&&(ArrayBuffer.prototype.isPrototypeOf(e)||l(e))?this._bodyArrayBuffer=h(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):r&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},s&&(this.blob=function(){var e=_(this);if(e)return e;if(this._bodyBlob)return n.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return n.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return n.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?_(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?n.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):n.resolve(this._bodyArrayBuffer)):this.blob().then(S)}),this.text=function(){var e,t,a,o=_(this);if(o)return o;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,a=f(t),t.readAsText(e),a;if(this._bodyArrayBuffer)return n.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),a=0;a-1?a:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(o),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var r=/([?&])_=[^&]*/;if(r.test(this.url))this.url=this.url.replace(r,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function b(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),a=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(a),decodeURIComponent(o))}})),t}function N(e,t){if(!(this instanceof N))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"",this.headers=new g(t.headers),this.url=t.url||"",this._initBody(e)}v.prototype.clone=function(){return new v(this,{body:this._bodyInit})},O.call(v.prototype),O.call(N.prototype),N.prototype.clone=function(){return new N(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new g(this.headers),url:this.url})},N.error=function(){var e=new N(null,{status:0,statusText:""});return e.type="error",e};var J=[301,302,303,307,308];N.redirect=function(e,t){if(-1===J.indexOf(t))throw new RangeError("Invalid status code");return new N(null,{status:t,headers:{location:e}})},t.DOMException=o.DOMException;try{new t.DOMException}catch(e){t.DOMException=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function R(e,r){return new n((function(n,i){var d=new v(e,r);if(d.signal&&d.signal.aborted)return i(new t.DOMException("Aborted","AbortError"));var u=new a;function l(){u.abort()}u.onload=function(){var e,t,a={status:u.status,statusText:u.statusText,headers:(e=u.getAllResponseHeaders()||"",t=new g,e.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var n=e.split(":"),a=n.shift().trim();if(a){var o=n.join(":").trim();t.append(a,o)}})),t)};a.url="responseURL"in u?u.responseURL:a.headers.get("X-Request-URL");var o="response"in u?u.response:u.responseText;setTimeout((function(){n(new N(o,a))}),0)},u.onerror=function(){setTimeout((function(){i(new TypeError("Network request failed"))}),0)},u.ontimeout=function(){setTimeout((function(){i(new TypeError("Network request failed"))}),0)},u.onabort=function(){setTimeout((function(){i(new t.DOMException("Aborted","AbortError"))}),0)},u.open(d.method,function(e){try{return""===e&&o.location.href?o.location.href:e}catch(t){return e}}(d.url),!0),"include"===d.credentials?u.withCredentials=!0:"omit"===d.credentials&&(u.withCredentials=!1),"responseType"in u&&(s?u.responseType="blob":c&&d.headers.get("Content-Type")&&-1!==d.headers.get("Content-Type").indexOf("application/octet-stream")&&(u.responseType="arraybuffer")),!r||"object"!=typeof r.headers||r.headers instanceof g?d.headers.forEach((function(e,t){u.setRequestHeader(t,e)})):Object.getOwnPropertyNames(r.headers).forEach((function(e){u.setRequestHeader(e,m(r.headers[e]))})),d.signal&&(d.signal.addEventListener("abort",l),u.onreadystatechange=function(){4===u.readyState&&d.signal.removeEventListener("abort",l)}),u.send(void 0===d._bodyInit?null:d._bodyInit)}))}R.polyfill=!0,o.fetch||(o.fetch=R,o.Headers=g,o.Request=v,o.Response=N),t.Headers=g,t.Request=v,t.Response=N,t.fetch=R,Object.defineProperty(t,"__esModule",{value:!0})}(t),{fetch:e.fetch,Headers:e.Headers,Request:e.Request,Response:e.Response,DOMException:e.DOMException}}()}void 0===(a=function(){return r}.call(t,n,t,e))||(e.exports=a)}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:void 0!==n.g?n.g:this)},3412:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AccountsApi=void 0;const a=n(5948),o=n(7115);class r extends a.BaseAPI{async createAccountRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new a.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling createAccount.");if(null===e.data||void 0===e.data)throw new a.RequiredError("data","Required parameter requestParameters.data was null or undefined when calling createAccount.");const n={Accept:"application/json","Content-Type":"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(n.Authorization=`Bearer ${t}`)}const r=await this.request({path:"/budgets/{budget_id}/accounts".replace("{budget_id}",encodeURIComponent(String(e.budgetId))),method:"POST",headers:n,query:{},body:(0,o.PostAccountWrapperToJSON)(e.data)},t);return new a.JSONApiResponse(r,(e=>(0,o.AccountResponseFromJSON)(e)))}async createAccount(e,t,n){const a=await this.createAccountRaw({budgetId:e,data:t},n);return await a.value()}async getAccountByIdRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new a.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling getAccountById.");if(null===e.accountId||void 0===e.accountId)throw new a.RequiredError("accountId","Required parameter requestParameters.accountId was null or undefined when calling getAccountById.");const n={Accept:"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(n.Authorization=`Bearer ${t}`)}const r=await this.request({path:"/budgets/{budget_id}/accounts/{account_id}".replace("{budget_id}",encodeURIComponent(String(e.budgetId))).replace("{account_id}",encodeURIComponent(String(e.accountId))),method:"GET",headers:n,query:{}},t);return new a.JSONApiResponse(r,(e=>(0,o.AccountResponseFromJSON)(e)))}async getAccountById(e,t,n){const a=await this.getAccountByIdRaw({budgetId:e,accountId:t},n);return await a.value()}async getAccountsRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new a.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling getAccounts.");const n={};void 0!==e.lastKnowledgeOfServer&&(n.last_knowledge_of_server=e.lastKnowledgeOfServer);const r={Accept:"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(r.Authorization=`Bearer ${t}`)}const i=await this.request({path:"/budgets/{budget_id}/accounts".replace("{budget_id}",encodeURIComponent(String(e.budgetId))),method:"GET",headers:r,query:n},t);return new a.JSONApiResponse(i,(e=>(0,o.AccountsResponseFromJSON)(e)))}async getAccounts(e,t,n){const a=await this.getAccountsRaw({budgetId:e,lastKnowledgeOfServer:t},n);return await a.value()}}t.AccountsApi=r},8183:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BudgetsApi=void 0;const a=n(5948),o=n(7115);class r extends a.BaseAPI{async getBudgetByIdRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new a.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling getBudgetById.");const n={};void 0!==e.lastKnowledgeOfServer&&(n.last_knowledge_of_server=e.lastKnowledgeOfServer);const r={Accept:"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(r.Authorization=`Bearer ${t}`)}const i=await this.request({path:"/budgets/{budget_id}".replace("{budget_id}",encodeURIComponent(String(e.budgetId))),method:"GET",headers:r,query:n},t);return new a.JSONApiResponse(i,(e=>(0,o.BudgetDetailResponseFromJSON)(e)))}async getBudgetById(e,t,n){const a=await this.getBudgetByIdRaw({budgetId:e,lastKnowledgeOfServer:t},n);return await a.value()}async getBudgetSettingsByIdRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new a.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling getBudgetSettingsById.");const n={Accept:"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(n.Authorization=`Bearer ${t}`)}const r=await this.request({path:"/budgets/{budget_id}/settings".replace("{budget_id}",encodeURIComponent(String(e.budgetId))),method:"GET",headers:n,query:{}},t);return new a.JSONApiResponse(r,(e=>(0,o.BudgetSettingsResponseFromJSON)(e)))}async getBudgetSettingsById(e,t){const n=await this.getBudgetSettingsByIdRaw({budgetId:e},t);return await n.value()}async getBudgetsRaw(e,t){const n={};void 0!==e.includeAccounts&&(n.include_accounts=e.includeAccounts);const r={Accept:"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(r.Authorization=`Bearer ${t}`)}const i=await this.request({path:"/budgets",method:"GET",headers:r,query:n},t);return new a.JSONApiResponse(i,(e=>(0,o.BudgetSummaryResponseFromJSON)(e)))}async getBudgets(e,t){const n=await this.getBudgetsRaw({includeAccounts:e},t);return await n.value()}}t.BudgetsApi=r},7615:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CategoriesApi=void 0;const a=n(5948),o=n(7115);class r extends a.BaseAPI{async getCategoriesRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new a.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling getCategories.");const n={};void 0!==e.lastKnowledgeOfServer&&(n.last_knowledge_of_server=e.lastKnowledgeOfServer);const r={Accept:"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(r.Authorization=`Bearer ${t}`)}const i=await this.request({path:"/budgets/{budget_id}/categories".replace("{budget_id}",encodeURIComponent(String(e.budgetId))),method:"GET",headers:r,query:n},t);return new a.JSONApiResponse(i,(e=>(0,o.CategoriesResponseFromJSON)(e)))}async getCategories(e,t,n){const a=await this.getCategoriesRaw({budgetId:e,lastKnowledgeOfServer:t},n);return await a.value()}async getCategoryByIdRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new a.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling getCategoryById.");if(null===e.categoryId||void 0===e.categoryId)throw new a.RequiredError("categoryId","Required parameter requestParameters.categoryId was null or undefined when calling getCategoryById.");const n={Accept:"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(n.Authorization=`Bearer ${t}`)}const r=await this.request({path:"/budgets/{budget_id}/categories/{category_id}".replace("{budget_id}",encodeURIComponent(String(e.budgetId))).replace("{category_id}",encodeURIComponent(String(e.categoryId))),method:"GET",headers:n,query:{}},t);return new a.JSONApiResponse(r,(e=>(0,o.CategoryResponseFromJSON)(e)))}async getCategoryById(e,t,n){const a=await this.getCategoryByIdRaw({budgetId:e,categoryId:t},n);return await a.value()}async getMonthCategoryByIdRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new a.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling getMonthCategoryById.");if(null===e.month||void 0===e.month)throw new a.RequiredError("month","Required parameter requestParameters.month was null or undefined when calling getMonthCategoryById.");if(null===e.categoryId||void 0===e.categoryId)throw new a.RequiredError("categoryId","Required parameter requestParameters.categoryId was null or undefined when calling getMonthCategoryById.");const n={Accept:"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(n.Authorization=`Bearer ${t}`)}const r=await this.request({path:"/budgets/{budget_id}/months/{month}/categories/{category_id}".replace("{budget_id}",encodeURIComponent(String(e.budgetId))).replace("{month}",encodeURIComponent(String(e.month))).replace("{category_id}",encodeURIComponent(String(e.categoryId))),method:"GET",headers:n,query:{}},t);return new a.JSONApiResponse(r,(e=>(0,o.CategoryResponseFromJSON)(e)))}async getMonthCategoryById(e,t,n,a){const o=await this.getMonthCategoryByIdRaw({budgetId:e,month:t,categoryId:n},a);return await o.value()}async updateCategoryRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new a.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling updateCategory.");if(null===e.categoryId||void 0===e.categoryId)throw new a.RequiredError("categoryId","Required parameter requestParameters.categoryId was null or undefined when calling updateCategory.");if(null===e.data||void 0===e.data)throw new a.RequiredError("data","Required parameter requestParameters.data was null or undefined when calling updateCategory.");const n={Accept:"application/json","Content-Type":"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(n.Authorization=`Bearer ${t}`)}const r=await this.request({path:"/budgets/{budget_id}/categories/{category_id}".replace("{budget_id}",encodeURIComponent(String(e.budgetId))).replace("{category_id}",encodeURIComponent(String(e.categoryId))),method:"PATCH",headers:n,query:{},body:(0,o.PatchCategoryWrapperToJSON)(e.data)},t);return new a.JSONApiResponse(r,(e=>(0,o.SaveCategoryResponseFromJSON)(e)))}async updateCategory(e,t,n,a){const o=await this.updateCategoryRaw({budgetId:e,categoryId:t,data:n},a);return await o.value()}async updateMonthCategoryRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new a.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling updateMonthCategory.");if(null===e.month||void 0===e.month)throw new a.RequiredError("month","Required parameter requestParameters.month was null or undefined when calling updateMonthCategory.");if(null===e.categoryId||void 0===e.categoryId)throw new a.RequiredError("categoryId","Required parameter requestParameters.categoryId was null or undefined when calling updateMonthCategory.");if(null===e.data||void 0===e.data)throw new a.RequiredError("data","Required parameter requestParameters.data was null or undefined when calling updateMonthCategory.");const n={Accept:"application/json","Content-Type":"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(n.Authorization=`Bearer ${t}`)}const r=await this.request({path:"/budgets/{budget_id}/months/{month}/categories/{category_id}".replace("{budget_id}",encodeURIComponent(String(e.budgetId))).replace("{month}",encodeURIComponent(String(e.month))).replace("{category_id}",encodeURIComponent(String(e.categoryId))),method:"PATCH",headers:n,query:{},body:(0,o.PatchMonthCategoryWrapperToJSON)(e.data)},t);return new a.JSONApiResponse(r,(e=>(0,o.SaveCategoryResponseFromJSON)(e)))}async updateMonthCategory(e,t,n,a,o){const r=await this.updateMonthCategoryRaw({budgetId:e,month:t,categoryId:n,data:a},o);return await r.value()}}t.CategoriesApi=r},7816:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CustomTransactionsApi=void 0;const a=n(5563);class o extends a.TransactionsApi{getTransactionsByType(e,t,n,a){return this.getTransactions(e,void 0,t,n,a)}createTransactions(e,t,n){return this.createTransaction(e,t,n)}}t.CustomTransactionsApi=o},7817:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MonthsApi=void 0;const a=n(5948),o=n(7115);class r extends a.BaseAPI{async getBudgetMonthRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new a.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling getBudgetMonth.");if(null===e.month||void 0===e.month)throw new a.RequiredError("month","Required parameter requestParameters.month was null or undefined when calling getBudgetMonth.");const n={Accept:"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(n.Authorization=`Bearer ${t}`)}const r=await this.request({path:"/budgets/{budget_id}/months/{month}".replace("{budget_id}",encodeURIComponent(String(e.budgetId))).replace("{month}",encodeURIComponent(String(e.month))),method:"GET",headers:n,query:{}},t);return new a.JSONApiResponse(r,(e=>(0,o.MonthDetailResponseFromJSON)(e)))}async getBudgetMonth(e,t,n){const a=await this.getBudgetMonthRaw({budgetId:e,month:t},n);return await a.value()}async getBudgetMonthsRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new a.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling getBudgetMonths.");const n={};void 0!==e.lastKnowledgeOfServer&&(n.last_knowledge_of_server=e.lastKnowledgeOfServer);const r={Accept:"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(r.Authorization=`Bearer ${t}`)}const i=await this.request({path:"/budgets/{budget_id}/months".replace("{budget_id}",encodeURIComponent(String(e.budgetId))),method:"GET",headers:r,query:n},t);return new a.JSONApiResponse(i,(e=>(0,o.MonthSummariesResponseFromJSON)(e)))}async getBudgetMonths(e,t,n){const a=await this.getBudgetMonthsRaw({budgetId:e,lastKnowledgeOfServer:t},n);return await a.value()}}t.MonthsApi=r},9265:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PayeeLocationsApi=void 0;const a=n(5948),o=n(7115);class r extends a.BaseAPI{async getPayeeLocationByIdRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new a.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling getPayeeLocationById.");if(null===e.payeeLocationId||void 0===e.payeeLocationId)throw new a.RequiredError("payeeLocationId","Required parameter requestParameters.payeeLocationId was null or undefined when calling getPayeeLocationById.");const n={Accept:"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(n.Authorization=`Bearer ${t}`)}const r=await this.request({path:"/budgets/{budget_id}/payee_locations/{payee_location_id}".replace("{budget_id}",encodeURIComponent(String(e.budgetId))).replace("{payee_location_id}",encodeURIComponent(String(e.payeeLocationId))),method:"GET",headers:n,query:{}},t);return new a.JSONApiResponse(r,(e=>(0,o.PayeeLocationResponseFromJSON)(e)))}async getPayeeLocationById(e,t,n){const a=await this.getPayeeLocationByIdRaw({budgetId:e,payeeLocationId:t},n);return await a.value()}async getPayeeLocationsRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new a.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling getPayeeLocations.");const n={Accept:"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(n.Authorization=`Bearer ${t}`)}const r=await this.request({path:"/budgets/{budget_id}/payee_locations".replace("{budget_id}",encodeURIComponent(String(e.budgetId))),method:"GET",headers:n,query:{}},t);return new a.JSONApiResponse(r,(e=>(0,o.PayeeLocationsResponseFromJSON)(e)))}async getPayeeLocations(e,t){const n=await this.getPayeeLocationsRaw({budgetId:e},t);return await n.value()}async getPayeeLocationsByPayeeRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new a.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling getPayeeLocationsByPayee.");if(null===e.payeeId||void 0===e.payeeId)throw new a.RequiredError("payeeId","Required parameter requestParameters.payeeId was null or undefined when calling getPayeeLocationsByPayee.");const n={Accept:"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(n.Authorization=`Bearer ${t}`)}const r=await this.request({path:"/budgets/{budget_id}/payees/{payee_id}/payee_locations".replace("{budget_id}",encodeURIComponent(String(e.budgetId))).replace("{payee_id}",encodeURIComponent(String(e.payeeId))),method:"GET",headers:n,query:{}},t);return new a.JSONApiResponse(r,(e=>(0,o.PayeeLocationsResponseFromJSON)(e)))}async getPayeeLocationsByPayee(e,t,n){const a=await this.getPayeeLocationsByPayeeRaw({budgetId:e,payeeId:t},n);return await a.value()}}t.PayeeLocationsApi=r},1123:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PayeesApi=void 0;const a=n(5948),o=n(7115);class r extends a.BaseAPI{async getPayeeByIdRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new a.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling getPayeeById.");if(null===e.payeeId||void 0===e.payeeId)throw new a.RequiredError("payeeId","Required parameter requestParameters.payeeId was null or undefined when calling getPayeeById.");const n={Accept:"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(n.Authorization=`Bearer ${t}`)}const r=await this.request({path:"/budgets/{budget_id}/payees/{payee_id}".replace("{budget_id}",encodeURIComponent(String(e.budgetId))).replace("{payee_id}",encodeURIComponent(String(e.payeeId))),method:"GET",headers:n,query:{}},t);return new a.JSONApiResponse(r,(e=>(0,o.PayeeResponseFromJSON)(e)))}async getPayeeById(e,t,n){const a=await this.getPayeeByIdRaw({budgetId:e,payeeId:t},n);return await a.value()}async getPayeesRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new a.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling getPayees.");const n={};void 0!==e.lastKnowledgeOfServer&&(n.last_knowledge_of_server=e.lastKnowledgeOfServer);const r={Accept:"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(r.Authorization=`Bearer ${t}`)}const i=await this.request({path:"/budgets/{budget_id}/payees".replace("{budget_id}",encodeURIComponent(String(e.budgetId))),method:"GET",headers:r,query:n},t);return new a.JSONApiResponse(i,(e=>(0,o.PayeesResponseFromJSON)(e)))}async getPayees(e,t,n){const a=await this.getPayeesRaw({budgetId:e,lastKnowledgeOfServer:t},n);return await a.value()}async updatePayeeRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new a.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling updatePayee.");if(null===e.payeeId||void 0===e.payeeId)throw new a.RequiredError("payeeId","Required parameter requestParameters.payeeId was null or undefined when calling updatePayee.");if(null===e.data||void 0===e.data)throw new a.RequiredError("data","Required parameter requestParameters.data was null or undefined when calling updatePayee.");const n={Accept:"application/json","Content-Type":"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(n.Authorization=`Bearer ${t}`)}const r=await this.request({path:"/budgets/{budget_id}/payees/{payee_id}".replace("{budget_id}",encodeURIComponent(String(e.budgetId))).replace("{payee_id}",encodeURIComponent(String(e.payeeId))),method:"PATCH",headers:n,query:{},body:(0,o.PatchPayeeWrapperToJSON)(e.data)},t);return new a.JSONApiResponse(r,(e=>(0,o.SavePayeeResponseFromJSON)(e)))}async updatePayee(e,t,n,a){const o=await this.updatePayeeRaw({budgetId:e,payeeId:t,data:n},a);return await o.value()}}t.PayeesApi=r},3385:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ScheduledTransactionsApi=void 0;const a=n(5948),o=n(7115);class r extends a.BaseAPI{async createScheduledTransactionRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new a.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling createScheduledTransaction.");if(null===e.data||void 0===e.data)throw new a.RequiredError("data","Required parameter requestParameters.data was null or undefined when calling createScheduledTransaction.");const n={Accept:"application/json","Content-Type":"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(n.Authorization=`Bearer ${t}`)}const r=await this.request({path:"/budgets/{budget_id}/scheduled_transactions".replace("{budget_id}",encodeURIComponent(String(e.budgetId))),method:"POST",headers:n,query:{},body:(0,o.PostScheduledTransactionWrapperToJSON)(e.data)},t);return new a.JSONApiResponse(r,(e=>(0,o.ScheduledTransactionResponseFromJSON)(e)))}async createScheduledTransaction(e,t,n){const a=await this.createScheduledTransactionRaw({budgetId:e,data:t},n);return await a.value()}async getScheduledTransactionByIdRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new a.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling getScheduledTransactionById.");if(null===e.scheduledTransactionId||void 0===e.scheduledTransactionId)throw new a.RequiredError("scheduledTransactionId","Required parameter requestParameters.scheduledTransactionId was null or undefined when calling getScheduledTransactionById.");const n={Accept:"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(n.Authorization=`Bearer ${t}`)}const r=await this.request({path:"/budgets/{budget_id}/scheduled_transactions/{scheduled_transaction_id}".replace("{budget_id}",encodeURIComponent(String(e.budgetId))).replace("{scheduled_transaction_id}",encodeURIComponent(String(e.scheduledTransactionId))),method:"GET",headers:n,query:{}},t);return new a.JSONApiResponse(r,(e=>(0,o.ScheduledTransactionResponseFromJSON)(e)))}async getScheduledTransactionById(e,t,n){const a=await this.getScheduledTransactionByIdRaw({budgetId:e,scheduledTransactionId:t},n);return await a.value()}async getScheduledTransactionsRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new a.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling getScheduledTransactions.");const n={};void 0!==e.lastKnowledgeOfServer&&(n.last_knowledge_of_server=e.lastKnowledgeOfServer);const r={Accept:"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(r.Authorization=`Bearer ${t}`)}const i=await this.request({path:"/budgets/{budget_id}/scheduled_transactions".replace("{budget_id}",encodeURIComponent(String(e.budgetId))),method:"GET",headers:r,query:n},t);return new a.JSONApiResponse(i,(e=>(0,o.ScheduledTransactionsResponseFromJSON)(e)))}async getScheduledTransactions(e,t,n){const a=await this.getScheduledTransactionsRaw({budgetId:e,lastKnowledgeOfServer:t},n);return await a.value()}}t.ScheduledTransactionsApi=r},5563:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GetTransactionsByPayeeTypeEnum=t.GetTransactionsByMonthTypeEnum=t.GetTransactionsByCategoryTypeEnum=t.GetTransactionsByAccountTypeEnum=t.GetTransactionsTypeEnum=t.TransactionsApi=void 0;const a=n(5948),o=n(7115);class r extends a.BaseAPI{async createTransactionRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new a.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling createTransaction.");if(null===e.data||void 0===e.data)throw new a.RequiredError("data","Required parameter requestParameters.data was null or undefined when calling createTransaction.");const n={Accept:"application/json","Content-Type":"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(n.Authorization=`Bearer ${t}`)}const r=await this.request({path:"/budgets/{budget_id}/transactions".replace("{budget_id}",encodeURIComponent(String(e.budgetId))),method:"POST",headers:n,query:{},body:(0,o.PostTransactionsWrapperToJSON)(e.data)},t);return new a.JSONApiResponse(r,(e=>(0,o.SaveTransactionsResponseFromJSON)(e)))}async createTransaction(e,t,n){const a=await this.createTransactionRaw({budgetId:e,data:t},n);return await a.value()}async deleteTransactionRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new a.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling deleteTransaction.");if(null===e.transactionId||void 0===e.transactionId)throw new a.RequiredError("transactionId","Required parameter requestParameters.transactionId was null or undefined when calling deleteTransaction.");const n={Accept:"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(n.Authorization=`Bearer ${t}`)}const r=await this.request({path:"/budgets/{budget_id}/transactions/{transaction_id}".replace("{budget_id}",encodeURIComponent(String(e.budgetId))).replace("{transaction_id}",encodeURIComponent(String(e.transactionId))),method:"DELETE",headers:n,query:{}},t);return new a.JSONApiResponse(r,(e=>(0,o.TransactionResponseFromJSON)(e)))}async deleteTransaction(e,t,n){const a=await this.deleteTransactionRaw({budgetId:e,transactionId:t},n);return await a.value()}async getTransactionByIdRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new a.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling getTransactionById.");if(null===e.transactionId||void 0===e.transactionId)throw new a.RequiredError("transactionId","Required parameter requestParameters.transactionId was null or undefined when calling getTransactionById.");const n={Accept:"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(n.Authorization=`Bearer ${t}`)}const r=await this.request({path:"/budgets/{budget_id}/transactions/{transaction_id}".replace("{budget_id}",encodeURIComponent(String(e.budgetId))).replace("{transaction_id}",encodeURIComponent(String(e.transactionId))),method:"GET",headers:n,query:{}},t);return new a.JSONApiResponse(r,(e=>(0,o.TransactionResponseFromJSON)(e)))}async getTransactionById(e,t,n){const a=await this.getTransactionByIdRaw({budgetId:e,transactionId:t},n);return await a.value()}async getTransactionsRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new a.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling getTransactions.");const n={};void 0!==e.sinceDate&&(n.since_date=e.sinceDate),void 0!==e.type&&(n.type=e.type),void 0!==e.lastKnowledgeOfServer&&(n.last_knowledge_of_server=e.lastKnowledgeOfServer);const r={Accept:"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(r.Authorization=`Bearer ${t}`)}const i=await this.request({path:"/budgets/{budget_id}/transactions".replace("{budget_id}",encodeURIComponent(String(e.budgetId))),method:"GET",headers:r,query:n},t);return new a.JSONApiResponse(i,(e=>(0,o.TransactionsResponseFromJSON)(e)))}async getTransactions(e,t,n,a,o){const r=await this.getTransactionsRaw({budgetId:e,sinceDate:t,type:n,lastKnowledgeOfServer:a},o);return await r.value()}async getTransactionsByAccountRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new a.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling getTransactionsByAccount.");if(null===e.accountId||void 0===e.accountId)throw new a.RequiredError("accountId","Required parameter requestParameters.accountId was null or undefined when calling getTransactionsByAccount.");const n={};void 0!==e.sinceDate&&(n.since_date=e.sinceDate),void 0!==e.type&&(n.type=e.type),void 0!==e.lastKnowledgeOfServer&&(n.last_knowledge_of_server=e.lastKnowledgeOfServer);const r={Accept:"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(r.Authorization=`Bearer ${t}`)}const i=await this.request({path:"/budgets/{budget_id}/accounts/{account_id}/transactions".replace("{budget_id}",encodeURIComponent(String(e.budgetId))).replace("{account_id}",encodeURIComponent(String(e.accountId))),method:"GET",headers:r,query:n},t);return new a.JSONApiResponse(i,(e=>(0,o.TransactionsResponseFromJSON)(e)))}async getTransactionsByAccount(e,t,n,a,o,r){const i=await this.getTransactionsByAccountRaw({budgetId:e,accountId:t,sinceDate:n,type:a,lastKnowledgeOfServer:o},r);return await i.value()}async getTransactionsByCategoryRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new a.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling getTransactionsByCategory.");if(null===e.categoryId||void 0===e.categoryId)throw new a.RequiredError("categoryId","Required parameter requestParameters.categoryId was null or undefined when calling getTransactionsByCategory.");const n={};void 0!==e.sinceDate&&(n.since_date=e.sinceDate),void 0!==e.type&&(n.type=e.type),void 0!==e.lastKnowledgeOfServer&&(n.last_knowledge_of_server=e.lastKnowledgeOfServer);const r={Accept:"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(r.Authorization=`Bearer ${t}`)}const i=await this.request({path:"/budgets/{budget_id}/categories/{category_id}/transactions".replace("{budget_id}",encodeURIComponent(String(e.budgetId))).replace("{category_id}",encodeURIComponent(String(e.categoryId))),method:"GET",headers:r,query:n},t);return new a.JSONApiResponse(i,(e=>(0,o.HybridTransactionsResponseFromJSON)(e)))}async getTransactionsByCategory(e,t,n,a,o,r){const i=await this.getTransactionsByCategoryRaw({budgetId:e,categoryId:t,sinceDate:n,type:a,lastKnowledgeOfServer:o},r);return await i.value()}async getTransactionsByMonthRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new a.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling getTransactionsByMonth.");if(null===e.month||void 0===e.month)throw new a.RequiredError("month","Required parameter requestParameters.month was null or undefined when calling getTransactionsByMonth.");const n={};void 0!==e.sinceDate&&(n.since_date=e.sinceDate),void 0!==e.type&&(n.type=e.type),void 0!==e.lastKnowledgeOfServer&&(n.last_knowledge_of_server=e.lastKnowledgeOfServer);const r={Accept:"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(r.Authorization=`Bearer ${t}`)}const i=await this.request({path:"/budgets/{budget_id}/months/{month}/transactions".replace("{budget_id}",encodeURIComponent(String(e.budgetId))).replace("{month}",encodeURIComponent(String(e.month))),method:"GET",headers:r,query:n},t);return new a.JSONApiResponse(i,(e=>(0,o.HybridTransactionsResponseFromJSON)(e)))}async getTransactionsByMonth(e,t,n,a,o,r){const i=await this.getTransactionsByMonthRaw({budgetId:e,month:t,sinceDate:n,type:a,lastKnowledgeOfServer:o},r);return await i.value()}async getTransactionsByPayeeRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new a.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling getTransactionsByPayee.");if(null===e.payeeId||void 0===e.payeeId)throw new a.RequiredError("payeeId","Required parameter requestParameters.payeeId was null or undefined when calling getTransactionsByPayee.");const n={};void 0!==e.sinceDate&&(n.since_date=e.sinceDate),void 0!==e.type&&(n.type=e.type),void 0!==e.lastKnowledgeOfServer&&(n.last_knowledge_of_server=e.lastKnowledgeOfServer);const r={Accept:"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(r.Authorization=`Bearer ${t}`)}const i=await this.request({path:"/budgets/{budget_id}/payees/{payee_id}/transactions".replace("{budget_id}",encodeURIComponent(String(e.budgetId))).replace("{payee_id}",encodeURIComponent(String(e.payeeId))),method:"GET",headers:r,query:n},t);return new a.JSONApiResponse(i,(e=>(0,o.HybridTransactionsResponseFromJSON)(e)))}async getTransactionsByPayee(e,t,n,a,o,r){const i=await this.getTransactionsByPayeeRaw({budgetId:e,payeeId:t,sinceDate:n,type:a,lastKnowledgeOfServer:o},r);return await i.value()}async importTransactionsRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new a.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling importTransactions.");const n={Accept:"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(n.Authorization=`Bearer ${t}`)}const r=await this.request({path:"/budgets/{budget_id}/transactions/import".replace("{budget_id}",encodeURIComponent(String(e.budgetId))),method:"POST",headers:n,query:{}},t);return new a.JSONApiResponse(r,(e=>(0,o.TransactionsImportResponseFromJSON)(e)))}async importTransactions(e,t){const n=await this.importTransactionsRaw({budgetId:e},t);return await n.value()}async updateTransactionRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new a.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling updateTransaction.");if(null===e.transactionId||void 0===e.transactionId)throw new a.RequiredError("transactionId","Required parameter requestParameters.transactionId was null or undefined when calling updateTransaction.");if(null===e.data||void 0===e.data)throw new a.RequiredError("data","Required parameter requestParameters.data was null or undefined when calling updateTransaction.");const n={Accept:"application/json","Content-Type":"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(n.Authorization=`Bearer ${t}`)}const r=await this.request({path:"/budgets/{budget_id}/transactions/{transaction_id}".replace("{budget_id}",encodeURIComponent(String(e.budgetId))).replace("{transaction_id}",encodeURIComponent(String(e.transactionId))),method:"PUT",headers:n,query:{},body:(0,o.PutTransactionWrapperToJSON)(e.data)},t);return new a.JSONApiResponse(r,(e=>(0,o.TransactionResponseFromJSON)(e)))}async updateTransaction(e,t,n,a){const o=await this.updateTransactionRaw({budgetId:e,transactionId:t,data:n},a);return await o.value()}async updateTransactionsRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new a.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling updateTransactions.");if(null===e.data||void 0===e.data)throw new a.RequiredError("data","Required parameter requestParameters.data was null or undefined when calling updateTransactions.");const n={Accept:"application/json","Content-Type":"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(n.Authorization=`Bearer ${t}`)}const r=await this.request({path:"/budgets/{budget_id}/transactions".replace("{budget_id}",encodeURIComponent(String(e.budgetId))),method:"PATCH",headers:n,query:{},body:(0,o.PatchTransactionsWrapperToJSON)(e.data)},t);return new a.JSONApiResponse(r,(e=>(0,o.SaveTransactionsResponseFromJSON)(e)))}async updateTransactions(e,t,n){const a=await this.updateTransactionsRaw({budgetId:e,data:t},n);return await a.value()}}t.TransactionsApi=r,t.GetTransactionsTypeEnum={Uncategorized:"uncategorized",Unapproved:"unapproved"},t.GetTransactionsByAccountTypeEnum={Uncategorized:"uncategorized",Unapproved:"unapproved"},t.GetTransactionsByCategoryTypeEnum={Uncategorized:"uncategorized",Unapproved:"unapproved"},t.GetTransactionsByMonthTypeEnum={Uncategorized:"uncategorized",Unapproved:"unapproved"},t.GetTransactionsByPayeeTypeEnum={Uncategorized:"uncategorized",Unapproved:"unapproved"}},5607:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UserApi=void 0;const a=n(5948),o=n(7115);class r extends a.BaseAPI{async getUserRaw(e){const t={Accept:"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,n=await e("bearer",[]);n&&(t.Authorization=`Bearer ${n}`)}const n=await this.request({path:"/user",method:"GET",headers:t,query:{}},e);return new a.JSONApiResponse(n,(e=>(0,o.UserResponseFromJSON)(e)))}async getUser(e){const t=await this.getUserRaw(e);return await t.value()}}t.UserApi=r},6873:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,a,o)}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||a(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(3412),t),o(n(8183),t),o(n(7615),t),o(n(7817),t),o(n(9265),t),o(n(1123),t),o(n(3385),t),o(n(5563),t),o(n(5607),t)},3465:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,a,o)}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||a(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.api=t.utils=t.API=void 0;const r=n(6873),i=n(7816),s=n(679);t.utils=s.default;const d=n(5948);o(n(5948),t),o(n(6873),t),o(n(7115),t);class c{constructor(e,t=d.BASE_PATH){this._configuration=new d.Configuration({accessToken:e,basePath:t})}get user(){return this._user||(this._user=new r.UserApi(this._configuration)),this._user}get budgets(){return this._budgets||(this._budgets=new r.BudgetsApi(this._configuration)),this._budgets}get accounts(){return this._accounts||(this._accounts=new r.AccountsApi(this._configuration)),this._accounts}get categories(){return this._categories||(this._categories=new r.CategoriesApi(this._configuration)),this._categories}get months(){return this._months||(this._months=new r.MonthsApi(this._configuration)),this._months}get payees(){return this._payees||(this._payees=new r.PayeesApi(this._configuration)),this._payees}get payeeLocations(){return this._payeeLocations||(this._payeeLocations=new r.PayeeLocationsApi(this._configuration)),this._payeeLocations}get transactions(){return this._transactions||(this._transactions=new i.CustomTransactionsApi(this._configuration)),this._transactions}get scheduledTransactions(){return this._scheduledTransactions||(this._scheduledTransactions=new r.ScheduledTransactionsApi(this._configuration)),this._scheduledTransactions}}t.api=c,t.API=c},8374:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AccountToJSON=t.AccountFromJSONTyped=t.AccountFromJSON=t.instanceOfAccount=void 0;const a=n(809);function o(e,t){return null==e?e:{id:e.id,name:e.name,type:(0,a.AccountTypeFromJSON)(e.type),on_budget:e.on_budget,closed:e.closed,note:null==e.note?void 0:e.note,balance:e.balance,cleared_balance:e.cleared_balance,uncleared_balance:e.uncleared_balance,transfer_payee_id:e.transfer_payee_id,direct_import_linked:null==e.direct_import_linked?void 0:e.direct_import_linked,direct_import_in_error:null==e.direct_import_in_error?void 0:e.direct_import_in_error,last_reconciled_at:null==e.last_reconciled_at?void 0:e.last_reconciled_at,debt_original_balance:null==e.debt_original_balance?void 0:e.debt_original_balance,debt_interest_rates:null==e.debt_interest_rates?void 0:e.debt_interest_rates,debt_minimum_payments:null==e.debt_minimum_payments?void 0:e.debt_minimum_payments,debt_escrow_amounts:null==e.debt_escrow_amounts?void 0:e.debt_escrow_amounts,deleted:e.deleted}}t.instanceOfAccount=function(e){return"id"in e&&void 0!==e.id&&"name"in e&&void 0!==e.name&&"type"in e&&void 0!==e.type&&"on_budget"in e&&void 0!==e.on_budget&&"closed"in e&&void 0!==e.closed&&"balance"in e&&void 0!==e.balance&&"cleared_balance"in e&&void 0!==e.cleared_balance&&"uncleared_balance"in e&&void 0!==e.uncleared_balance&&"transfer_payee_id"in e&&void 0!==e.transfer_payee_id&&"deleted"in e&&void 0!==e.deleted},t.AccountFromJSON=function(e){return o(e)},t.AccountFromJSONTyped=o,t.AccountToJSON=function(e){return null==e?e:{id:e.id,name:e.name,type:(0,a.AccountTypeToJSON)(e.type),on_budget:e.on_budget,closed:e.closed,note:e.note,balance:e.balance,cleared_balance:e.cleared_balance,uncleared_balance:e.uncleared_balance,transfer_payee_id:e.transfer_payee_id,direct_import_linked:e.direct_import_linked,direct_import_in_error:e.direct_import_in_error,last_reconciled_at:e.last_reconciled_at,debt_original_balance:e.debt_original_balance,debt_interest_rates:e.debt_interest_rates,debt_minimum_payments:e.debt_minimum_payments,debt_escrow_amounts:e.debt_escrow_amounts,deleted:e.deleted}}},8121:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AccountResponseToJSON=t.AccountResponseFromJSONTyped=t.AccountResponseFromJSON=t.instanceOfAccountResponse=void 0;const a=n(3940);function o(e,t){return null==e?e:{data:(0,a.AccountResponseDataFromJSON)(e.data)}}t.instanceOfAccountResponse=function(e){return"data"in e&&void 0!==e.data},t.AccountResponseFromJSON=function(e){return o(e)},t.AccountResponseFromJSONTyped=o,t.AccountResponseToJSON=function(e){return null==e?e:{data:(0,a.AccountResponseDataToJSON)(e.data)}}},3940:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AccountResponseDataToJSON=t.AccountResponseDataFromJSONTyped=t.AccountResponseDataFromJSON=t.instanceOfAccountResponseData=void 0;const a=n(8374);function o(e,t){return null==e?e:{account:(0,a.AccountFromJSON)(e.account)}}t.instanceOfAccountResponseData=function(e){return"account"in e&&void 0!==e.account},t.AccountResponseDataFromJSON=function(e){return o(e)},t.AccountResponseDataFromJSONTyped=o,t.AccountResponseDataToJSON=function(e){return null==e?e:{account:(0,a.AccountToJSON)(e.account)}}},809:(e,t)=>{"use strict";function n(e,t){return e}Object.defineProperty(t,"__esModule",{value:!0}),t.AccountTypeToJSON=t.AccountTypeFromJSONTyped=t.AccountTypeFromJSON=t.instanceOfAccountType=t.AccountType=void 0,t.AccountType={Checking:"checking",Savings:"savings",Cash:"cash",CreditCard:"creditCard",LineOfCredit:"lineOfCredit",OtherAsset:"otherAsset",OtherLiability:"otherLiability",Mortgage:"mortgage",AutoLoan:"autoLoan",StudentLoan:"studentLoan",PersonalLoan:"personalLoan",MedicalDebt:"medicalDebt",OtherDebt:"otherDebt"},t.instanceOfAccountType=function(e){for(const n in t.AccountType)if(Object.prototype.hasOwnProperty.call(t.AccountType,n)&&t.AccountType[n]===e)return!0;return!1},t.AccountTypeFromJSON=function(e){return n(e)},t.AccountTypeFromJSONTyped=n,t.AccountTypeToJSON=function(e){return e}},5102:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AccountsResponseToJSON=t.AccountsResponseFromJSONTyped=t.AccountsResponseFromJSON=t.instanceOfAccountsResponse=void 0;const a=n(8351);function o(e,t){return null==e?e:{data:(0,a.AccountsResponseDataFromJSON)(e.data)}}t.instanceOfAccountsResponse=function(e){return"data"in e&&void 0!==e.data},t.AccountsResponseFromJSON=function(e){return o(e)},t.AccountsResponseFromJSONTyped=o,t.AccountsResponseToJSON=function(e){return null==e?e:{data:(0,a.AccountsResponseDataToJSON)(e.data)}}},8351:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AccountsResponseDataToJSON=t.AccountsResponseDataFromJSONTyped=t.AccountsResponseDataFromJSON=t.instanceOfAccountsResponseData=void 0;const a=n(8374);function o(e,t){return null==e?e:{accounts:e.accounts.map(a.AccountFromJSON),server_knowledge:e.server_knowledge}}t.instanceOfAccountsResponseData=function(e){return"accounts"in e&&void 0!==e.accounts&&"server_knowledge"in e&&void 0!==e.server_knowledge},t.AccountsResponseDataFromJSON=function(e){return o(e)},t.AccountsResponseDataFromJSONTyped=o,t.AccountsResponseDataToJSON=function(e){return null==e?e:{accounts:e.accounts.map(a.AccountToJSON),server_knowledge:e.server_knowledge}}},9522:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BudgetDetailToJSON=t.BudgetDetailFromJSONTyped=t.BudgetDetailFromJSON=t.instanceOfBudgetDetail=void 0;const a=n(1893),o=n(8374),r=n(4396),i=n(7781),s=n(5170),d=n(7890),c=n(7521),u=n(7069),l=n(3572),p=n(5695),m=n(6661),y=n(9988);function g(e,t){return null==e?e:{id:e.id,name:e.name,last_modified_on:null==e.last_modified_on?void 0:e.last_modified_on,first_month:null==e.first_month?void 0:e.first_month,last_month:null==e.last_month?void 0:e.last_month,date_format:null==e.date_format?void 0:(0,d.DateFormatFromJSON)(e.date_format),currency_format:null==e.currency_format?void 0:(0,s.CurrencyFormatFromJSON)(e.currency_format),accounts:null==e.accounts?void 0:e.accounts.map(o.AccountFromJSON),payees:null==e.payees?void 0:e.payees.map(l.PayeeFromJSON),payee_locations:null==e.payee_locations?void 0:e.payee_locations.map(a.PayeeLocationFromJSON),category_groups:null==e.category_groups?void 0:e.category_groups.map(y.CategoryGroupFromJSON),categories:null==e.categories?void 0:e.categories.map(i.CategoryFromJSON),months:null==e.months?void 0:e.months.map(u.MonthDetailFromJSON),transactions:null==e.transactions?void 0:e.transactions.map(m.TransactionSummaryFromJSON),subtransactions:null==e.subtransactions?void 0:e.subtransactions.map(c.SubTransactionFromJSON),scheduled_transactions:null==e.scheduled_transactions?void 0:e.scheduled_transactions.map(r.ScheduledTransactionSummaryFromJSON),scheduled_subtransactions:null==e.scheduled_subtransactions?void 0:e.scheduled_subtransactions.map(p.ScheduledSubTransactionFromJSON)}}t.instanceOfBudgetDetail=function(e){return"id"in e&&void 0!==e.id&&"name"in e&&void 0!==e.name},t.BudgetDetailFromJSON=function(e){return g(e)},t.BudgetDetailFromJSONTyped=g,t.BudgetDetailToJSON=function(e){return null==e?e:{id:e.id,name:e.name,last_modified_on:e.last_modified_on,first_month:e.first_month,last_month:e.last_month,date_format:(0,d.DateFormatToJSON)(e.date_format),currency_format:(0,s.CurrencyFormatToJSON)(e.currency_format),accounts:null==e.accounts?void 0:e.accounts.map(o.AccountToJSON),payees:null==e.payees?void 0:e.payees.map(l.PayeeToJSON),payee_locations:null==e.payee_locations?void 0:e.payee_locations.map(a.PayeeLocationToJSON),category_groups:null==e.category_groups?void 0:e.category_groups.map(y.CategoryGroupToJSON),categories:null==e.categories?void 0:e.categories.map(i.CategoryToJSON),months:null==e.months?void 0:e.months.map(u.MonthDetailToJSON),transactions:null==e.transactions?void 0:e.transactions.map(m.TransactionSummaryToJSON),subtransactions:null==e.subtransactions?void 0:e.subtransactions.map(c.SubTransactionToJSON),scheduled_transactions:null==e.scheduled_transactions?void 0:e.scheduled_transactions.map(r.ScheduledTransactionSummaryToJSON),scheduled_subtransactions:null==e.scheduled_subtransactions?void 0:e.scheduled_subtransactions.map(p.ScheduledSubTransactionToJSON)}}},7371:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BudgetDetailResponseToJSON=t.BudgetDetailResponseFromJSONTyped=t.BudgetDetailResponseFromJSON=t.instanceOfBudgetDetailResponse=void 0;const a=n(5499);function o(e,t){return null==e?e:{data:(0,a.BudgetDetailResponseDataFromJSON)(e.data)}}t.instanceOfBudgetDetailResponse=function(e){return"data"in e&&void 0!==e.data},t.BudgetDetailResponseFromJSON=function(e){return o(e)},t.BudgetDetailResponseFromJSONTyped=o,t.BudgetDetailResponseToJSON=function(e){return null==e?e:{data:(0,a.BudgetDetailResponseDataToJSON)(e.data)}}},5499:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BudgetDetailResponseDataToJSON=t.BudgetDetailResponseDataFromJSONTyped=t.BudgetDetailResponseDataFromJSON=t.instanceOfBudgetDetailResponseData=void 0;const a=n(9522);function o(e,t){return null==e?e:{budget:(0,a.BudgetDetailFromJSON)(e.budget),server_knowledge:e.server_knowledge}}t.instanceOfBudgetDetailResponseData=function(e){return"budget"in e&&void 0!==e.budget&&"server_knowledge"in e&&void 0!==e.server_knowledge},t.BudgetDetailResponseDataFromJSON=function(e){return o(e)},t.BudgetDetailResponseDataFromJSONTyped=o,t.BudgetDetailResponseDataToJSON=function(e){return null==e?e:{budget:(0,a.BudgetDetailToJSON)(e.budget),server_knowledge:e.server_knowledge}}},2656:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BudgetSettingsToJSON=t.BudgetSettingsFromJSONTyped=t.BudgetSettingsFromJSON=t.instanceOfBudgetSettings=void 0;const a=n(5170),o=n(7890);function r(e,t){return null==e?e:{date_format:(0,o.DateFormatFromJSON)(e.date_format),currency_format:(0,a.CurrencyFormatFromJSON)(e.currency_format)}}t.instanceOfBudgetSettings=function(e){return"date_format"in e&&void 0!==e.date_format&&"currency_format"in e&&void 0!==e.currency_format},t.BudgetSettingsFromJSON=function(e){return r(e)},t.BudgetSettingsFromJSONTyped=r,t.BudgetSettingsToJSON=function(e){return null==e?e:{date_format:(0,o.DateFormatToJSON)(e.date_format),currency_format:(0,a.CurrencyFormatToJSON)(e.currency_format)}}},5048:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BudgetSettingsResponseToJSON=t.BudgetSettingsResponseFromJSONTyped=t.BudgetSettingsResponseFromJSON=t.instanceOfBudgetSettingsResponse=void 0;const a=n(1994);function o(e,t){return null==e?e:{data:(0,a.BudgetSettingsResponseDataFromJSON)(e.data)}}t.instanceOfBudgetSettingsResponse=function(e){return"data"in e&&void 0!==e.data},t.BudgetSettingsResponseFromJSON=function(e){return o(e)},t.BudgetSettingsResponseFromJSONTyped=o,t.BudgetSettingsResponseToJSON=function(e){return null==e?e:{data:(0,a.BudgetSettingsResponseDataToJSON)(e.data)}}},1994:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BudgetSettingsResponseDataToJSON=t.BudgetSettingsResponseDataFromJSONTyped=t.BudgetSettingsResponseDataFromJSON=t.instanceOfBudgetSettingsResponseData=void 0;const a=n(2656);function o(e,t){return null==e?e:{settings:(0,a.BudgetSettingsFromJSON)(e.settings)}}t.instanceOfBudgetSettingsResponseData=function(e){return"settings"in e&&void 0!==e.settings},t.BudgetSettingsResponseDataFromJSON=function(e){return o(e)},t.BudgetSettingsResponseDataFromJSONTyped=o,t.BudgetSettingsResponseDataToJSON=function(e){return null==e?e:{settings:(0,a.BudgetSettingsToJSON)(e.settings)}}},6052:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BudgetSummaryToJSON=t.BudgetSummaryFromJSONTyped=t.BudgetSummaryFromJSON=t.instanceOfBudgetSummary=void 0;const a=n(8374),o=n(5170),r=n(7890);function i(e,t){return null==e?e:{id:e.id,name:e.name,last_modified_on:null==e.last_modified_on?void 0:e.last_modified_on,first_month:null==e.first_month?void 0:e.first_month,last_month:null==e.last_month?void 0:e.last_month,date_format:null==e.date_format?void 0:(0,r.DateFormatFromJSON)(e.date_format),currency_format:null==e.currency_format?void 0:(0,o.CurrencyFormatFromJSON)(e.currency_format),accounts:null==e.accounts?void 0:e.accounts.map(a.AccountFromJSON)}}t.instanceOfBudgetSummary=function(e){return"id"in e&&void 0!==e.id&&"name"in e&&void 0!==e.name},t.BudgetSummaryFromJSON=function(e){return i(e)},t.BudgetSummaryFromJSONTyped=i,t.BudgetSummaryToJSON=function(e){return null==e?e:{id:e.id,name:e.name,last_modified_on:e.last_modified_on,first_month:e.first_month,last_month:e.last_month,date_format:(0,r.DateFormatToJSON)(e.date_format),currency_format:(0,o.CurrencyFormatToJSON)(e.currency_format),accounts:null==e.accounts?void 0:e.accounts.map(a.AccountToJSON)}}},8071:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BudgetSummaryResponseToJSON=t.BudgetSummaryResponseFromJSONTyped=t.BudgetSummaryResponseFromJSON=t.instanceOfBudgetSummaryResponse=void 0;const a=n(8130);function o(e,t){return null==e?e:{data:(0,a.BudgetSummaryResponseDataFromJSON)(e.data)}}t.instanceOfBudgetSummaryResponse=function(e){return"data"in e&&void 0!==e.data},t.BudgetSummaryResponseFromJSON=function(e){return o(e)},t.BudgetSummaryResponseFromJSONTyped=o,t.BudgetSummaryResponseToJSON=function(e){return null==e?e:{data:(0,a.BudgetSummaryResponseDataToJSON)(e.data)}}},8130:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BudgetSummaryResponseDataToJSON=t.BudgetSummaryResponseDataFromJSONTyped=t.BudgetSummaryResponseDataFromJSON=t.instanceOfBudgetSummaryResponseData=void 0;const a=n(6052);function o(e,t){return null==e?e:{budgets:e.budgets.map(a.BudgetSummaryFromJSON),default_budget:null==e.default_budget?void 0:(0,a.BudgetSummaryFromJSON)(e.default_budget)}}t.instanceOfBudgetSummaryResponseData=function(e){return"budgets"in e&&void 0!==e.budgets},t.BudgetSummaryResponseDataFromJSON=function(e){return o(e)},t.BudgetSummaryResponseDataFromJSONTyped=o,t.BudgetSummaryResponseDataToJSON=function(e){return null==e?e:{budgets:e.budgets.map(a.BudgetSummaryToJSON),default_budget:(0,a.BudgetSummaryToJSON)(e.default_budget)}}},1462:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BulkResponseToJSON=t.BulkResponseFromJSONTyped=t.BulkResponseFromJSON=t.instanceOfBulkResponse=void 0;const a=n(8270);function o(e,t){return null==e?e:{data:(0,a.BulkResponseDataFromJSON)(e.data)}}t.instanceOfBulkResponse=function(e){return"data"in e&&void 0!==e.data},t.BulkResponseFromJSON=function(e){return o(e)},t.BulkResponseFromJSONTyped=o,t.BulkResponseToJSON=function(e){return null==e?e:{data:(0,a.BulkResponseDataToJSON)(e.data)}}},8270:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BulkResponseDataToJSON=t.BulkResponseDataFromJSONTyped=t.BulkResponseDataFromJSON=t.instanceOfBulkResponseData=void 0;const a=n(9235);function o(e,t){return null==e?e:{bulk:(0,a.BulkResponseDataBulkFromJSON)(e.bulk)}}t.instanceOfBulkResponseData=function(e){return"bulk"in e&&void 0!==e.bulk},t.BulkResponseDataFromJSON=function(e){return o(e)},t.BulkResponseDataFromJSONTyped=o,t.BulkResponseDataToJSON=function(e){return null==e?e:{bulk:(0,a.BulkResponseDataBulkToJSON)(e.bulk)}}},9235:(e,t)=>{"use strict";function n(e,t){return null==e?e:{transaction_ids:e.transaction_ids,duplicate_import_ids:e.duplicate_import_ids}}Object.defineProperty(t,"__esModule",{value:!0}),t.BulkResponseDataBulkToJSON=t.BulkResponseDataBulkFromJSONTyped=t.BulkResponseDataBulkFromJSON=t.instanceOfBulkResponseDataBulk=void 0,t.instanceOfBulkResponseDataBulk=function(e){return"transaction_ids"in e&&void 0!==e.transaction_ids&&"duplicate_import_ids"in e&&void 0!==e.duplicate_import_ids},t.BulkResponseDataBulkFromJSON=function(e){return n(e)},t.BulkResponseDataBulkFromJSONTyped=n,t.BulkResponseDataBulkToJSON=function(e){return null==e?e:{transaction_ids:e.transaction_ids,duplicate_import_ids:e.duplicate_import_ids}}},4618:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BulkTransactionsToJSON=t.BulkTransactionsFromJSONTyped=t.BulkTransactionsFromJSON=t.instanceOfBulkTransactions=void 0;const a=n(1962);function o(e,t){return null==e?e:{transactions:e.transactions.map(a.SaveTransactionWithOptionalFieldsFromJSON)}}t.instanceOfBulkTransactions=function(e){return"transactions"in e&&void 0!==e.transactions},t.BulkTransactionsFromJSON=function(e){return o(e)},t.BulkTransactionsFromJSONTyped=o,t.BulkTransactionsToJSON=function(e){return null==e?e:{transactions:e.transactions.map(a.SaveTransactionWithOptionalFieldsToJSON)}}},7464:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CategoriesResponseToJSON=t.CategoriesResponseFromJSONTyped=t.CategoriesResponseFromJSON=t.instanceOfCategoriesResponse=void 0;const a=n(5021);function o(e,t){return null==e?e:{data:(0,a.CategoriesResponseDataFromJSON)(e.data)}}t.instanceOfCategoriesResponse=function(e){return"data"in e&&void 0!==e.data},t.CategoriesResponseFromJSON=function(e){return o(e)},t.CategoriesResponseFromJSONTyped=o,t.CategoriesResponseToJSON=function(e){return null==e?e:{data:(0,a.CategoriesResponseDataToJSON)(e.data)}}},5021:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CategoriesResponseDataToJSON=t.CategoriesResponseDataFromJSONTyped=t.CategoriesResponseDataFromJSON=t.instanceOfCategoriesResponseData=void 0;const a=n(5769);function o(e,t){return null==e?e:{category_groups:e.category_groups.map(a.CategoryGroupWithCategoriesFromJSON),server_knowledge:e.server_knowledge}}t.instanceOfCategoriesResponseData=function(e){return"category_groups"in e&&void 0!==e.category_groups&&"server_knowledge"in e&&void 0!==e.server_knowledge},t.CategoriesResponseDataFromJSON=function(e){return o(e)},t.CategoriesResponseDataFromJSONTyped=o,t.CategoriesResponseDataToJSON=function(e){return null==e?e:{category_groups:e.category_groups.map(a.CategoryGroupWithCategoriesToJSON),server_knowledge:e.server_knowledge}}},7781:(e,t)=>{"use strict";function n(e,t){return null==e?e:{id:e.id,category_group_id:e.category_group_id,category_group_name:null==e.category_group_name?void 0:e.category_group_name,name:e.name,hidden:e.hidden,original_category_group_id:null==e.original_category_group_id?void 0:e.original_category_group_id,note:null==e.note?void 0:e.note,budgeted:e.budgeted,activity:e.activity,balance:e.balance,goal_type:null==e.goal_type?void 0:e.goal_type,goal_needs_whole_amount:null==e.goal_needs_whole_amount?void 0:e.goal_needs_whole_amount,goal_day:null==e.goal_day?void 0:e.goal_day,goal_cadence:null==e.goal_cadence?void 0:e.goal_cadence,goal_cadence_frequency:null==e.goal_cadence_frequency?void 0:e.goal_cadence_frequency,goal_creation_month:null==e.goal_creation_month?void 0:e.goal_creation_month,goal_target:null==e.goal_target?void 0:e.goal_target,goal_target_month:null==e.goal_target_month?void 0:e.goal_target_month,goal_percentage_complete:null==e.goal_percentage_complete?void 0:e.goal_percentage_complete,goal_months_to_budget:null==e.goal_months_to_budget?void 0:e.goal_months_to_budget,goal_under_funded:null==e.goal_under_funded?void 0:e.goal_under_funded,goal_overall_funded:null==e.goal_overall_funded?void 0:e.goal_overall_funded,goal_overall_left:null==e.goal_overall_left?void 0:e.goal_overall_left,deleted:e.deleted}}Object.defineProperty(t,"__esModule",{value:!0}),t.CategoryToJSON=t.CategoryFromJSONTyped=t.CategoryFromJSON=t.instanceOfCategory=t.CategoryGoalTypeEnum=void 0,t.CategoryGoalTypeEnum={Tb:"TB",Tbd:"TBD",Mf:"MF",Need:"NEED",Debt:"DEBT"},t.instanceOfCategory=function(e){return"id"in e&&void 0!==e.id&&"category_group_id"in e&&void 0!==e.category_group_id&&"name"in e&&void 0!==e.name&&"hidden"in e&&void 0!==e.hidden&&"budgeted"in e&&void 0!==e.budgeted&&"activity"in e&&void 0!==e.activity&&"balance"in e&&void 0!==e.balance&&"deleted"in e&&void 0!==e.deleted},t.CategoryFromJSON=function(e){return n(e)},t.CategoryFromJSONTyped=n,t.CategoryToJSON=function(e){return null==e?e:{id:e.id,category_group_id:e.category_group_id,category_group_name:e.category_group_name,name:e.name,hidden:e.hidden,original_category_group_id:e.original_category_group_id,note:e.note,budgeted:e.budgeted,activity:e.activity,balance:e.balance,goal_type:e.goal_type,goal_needs_whole_amount:e.goal_needs_whole_amount,goal_day:e.goal_day,goal_cadence:e.goal_cadence,goal_cadence_frequency:e.goal_cadence_frequency,goal_creation_month:e.goal_creation_month,goal_target:e.goal_target,goal_target_month:e.goal_target_month,goal_percentage_complete:e.goal_percentage_complete,goal_months_to_budget:e.goal_months_to_budget,goal_under_funded:e.goal_under_funded,goal_overall_funded:e.goal_overall_funded,goal_overall_left:e.goal_overall_left,deleted:e.deleted}}},9988:(e,t)=>{"use strict";function n(e,t){return null==e?e:{id:e.id,name:e.name,hidden:e.hidden,deleted:e.deleted}}Object.defineProperty(t,"__esModule",{value:!0}),t.CategoryGroupToJSON=t.CategoryGroupFromJSONTyped=t.CategoryGroupFromJSON=t.instanceOfCategoryGroup=void 0,t.instanceOfCategoryGroup=function(e){return"id"in e&&void 0!==e.id&&"name"in e&&void 0!==e.name&&"hidden"in e&&void 0!==e.hidden&&"deleted"in e&&void 0!==e.deleted},t.CategoryGroupFromJSON=function(e){return n(e)},t.CategoryGroupFromJSONTyped=n,t.CategoryGroupToJSON=function(e){return null==e?e:{id:e.id,name:e.name,hidden:e.hidden,deleted:e.deleted}}},5769:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CategoryGroupWithCategoriesToJSON=t.CategoryGroupWithCategoriesFromJSONTyped=t.CategoryGroupWithCategoriesFromJSON=t.instanceOfCategoryGroupWithCategories=void 0;const a=n(7781);function o(e,t){return null==e?e:{id:e.id,name:e.name,hidden:e.hidden,deleted:e.deleted,categories:e.categories.map(a.CategoryFromJSON)}}t.instanceOfCategoryGroupWithCategories=function(e){return"id"in e&&void 0!==e.id&&"name"in e&&void 0!==e.name&&"hidden"in e&&void 0!==e.hidden&&"deleted"in e&&void 0!==e.deleted&&"categories"in e&&void 0!==e.categories},t.CategoryGroupWithCategoriesFromJSON=function(e){return o(e)},t.CategoryGroupWithCategoriesFromJSONTyped=o,t.CategoryGroupWithCategoriesToJSON=function(e){return null==e?e:{id:e.id,name:e.name,hidden:e.hidden,deleted:e.deleted,categories:e.categories.map(a.CategoryToJSON)}}},2466:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CategoryResponseToJSON=t.CategoryResponseFromJSONTyped=t.CategoryResponseFromJSON=t.instanceOfCategoryResponse=void 0;const a=n(823);function o(e,t){return null==e?e:{data:(0,a.CategoryResponseDataFromJSON)(e.data)}}t.instanceOfCategoryResponse=function(e){return"data"in e&&void 0!==e.data},t.CategoryResponseFromJSON=function(e){return o(e)},t.CategoryResponseFromJSONTyped=o,t.CategoryResponseToJSON=function(e){return null==e?e:{data:(0,a.CategoryResponseDataToJSON)(e.data)}}},823:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CategoryResponseDataToJSON=t.CategoryResponseDataFromJSONTyped=t.CategoryResponseDataFromJSON=t.instanceOfCategoryResponseData=void 0;const a=n(7781);function o(e,t){return null==e?e:{category:(0,a.CategoryFromJSON)(e.category)}}t.instanceOfCategoryResponseData=function(e){return"category"in e&&void 0!==e.category},t.CategoryResponseDataFromJSON=function(e){return o(e)},t.CategoryResponseDataFromJSONTyped=o,t.CategoryResponseDataToJSON=function(e){return null==e?e:{category:(0,a.CategoryToJSON)(e.category)}}},5170:(e,t)=>{"use strict";function n(e,t){return null==e?e:{iso_code:e.iso_code,example_format:e.example_format,decimal_digits:e.decimal_digits,decimal_separator:e.decimal_separator,symbol_first:e.symbol_first,group_separator:e.group_separator,currency_symbol:e.currency_symbol,display_symbol:e.display_symbol}}Object.defineProperty(t,"__esModule",{value:!0}),t.CurrencyFormatToJSON=t.CurrencyFormatFromJSONTyped=t.CurrencyFormatFromJSON=t.instanceOfCurrencyFormat=void 0,t.instanceOfCurrencyFormat=function(e){return"iso_code"in e&&void 0!==e.iso_code&&"example_format"in e&&void 0!==e.example_format&&"decimal_digits"in e&&void 0!==e.decimal_digits&&"decimal_separator"in e&&void 0!==e.decimal_separator&&"symbol_first"in e&&void 0!==e.symbol_first&&"group_separator"in e&&void 0!==e.group_separator&&"currency_symbol"in e&&void 0!==e.currency_symbol&&"display_symbol"in e&&void 0!==e.display_symbol},t.CurrencyFormatFromJSON=function(e){return n(e)},t.CurrencyFormatFromJSONTyped=n,t.CurrencyFormatToJSON=function(e){return null==e?e:{iso_code:e.iso_code,example_format:e.example_format,decimal_digits:e.decimal_digits,decimal_separator:e.decimal_separator,symbol_first:e.symbol_first,group_separator:e.group_separator,currency_symbol:e.currency_symbol,display_symbol:e.display_symbol}}},7890:(e,t)=>{"use strict";function n(e,t){return null==e?e:{format:e.format}}Object.defineProperty(t,"__esModule",{value:!0}),t.DateFormatToJSON=t.DateFormatFromJSONTyped=t.DateFormatFromJSON=t.instanceOfDateFormat=void 0,t.instanceOfDateFormat=function(e){return"format"in e&&void 0!==e.format},t.DateFormatFromJSON=function(e){return n(e)},t.DateFormatFromJSONTyped=n,t.DateFormatToJSON=function(e){return null==e?e:{format:e.format}}},3084:(e,t)=>{"use strict";function n(e,t){return null==e?e:{id:e.id,name:e.name,detail:e.detail}}Object.defineProperty(t,"__esModule",{value:!0}),t.ErrorDetailToJSON=t.ErrorDetailFromJSONTyped=t.ErrorDetailFromJSON=t.instanceOfErrorDetail=void 0,t.instanceOfErrorDetail=function(e){return"id"in e&&void 0!==e.id&&"name"in e&&void 0!==e.name&&"detail"in e&&void 0!==e.detail},t.ErrorDetailFromJSON=function(e){return n(e)},t.ErrorDetailFromJSONTyped=n,t.ErrorDetailToJSON=function(e){return null==e?e:{id:e.id,name:e.name,detail:e.detail}}},1737:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ErrorResponseToJSON=t.ErrorResponseFromJSONTyped=t.ErrorResponseFromJSON=t.instanceOfErrorResponse=void 0;const a=n(3084);function o(e,t){return null==e?e:{error:(0,a.ErrorDetailFromJSON)(e.error)}}t.instanceOfErrorResponse=function(e){return"error"in e&&void 0!==e.error},t.ErrorResponseFromJSON=function(e){return o(e)},t.ErrorResponseFromJSONTyped=o,t.ErrorResponseToJSON=function(e){return null==e?e:{error:(0,a.ErrorDetailToJSON)(e.error)}}},5195:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExistingTransactionToJSON=t.ExistingTransactionFromJSONTyped=t.ExistingTransactionFromJSON=t.instanceOfExistingTransaction=void 0;const a=n(6999),o=n(4839),r=n(9503);function i(e,t){return null==e?e:{account_id:null==e.account_id?void 0:e.account_id,date:null==e.date?void 0:e.date,amount:null==e.amount?void 0:e.amount,payee_id:null==e.payee_id?void 0:e.payee_id,payee_name:null==e.payee_name?void 0:e.payee_name,category_id:null==e.category_id?void 0:e.category_id,memo:null==e.memo?void 0:e.memo,cleared:null==e.cleared?void 0:(0,o.TransactionClearedStatusFromJSON)(e.cleared),approved:null==e.approved?void 0:e.approved,flag_color:null==e.flag_color?void 0:(0,a.TransactionFlagColorFromJSON)(e.flag_color),subtransactions:null==e.subtransactions?void 0:e.subtransactions.map(r.SaveSubTransactionFromJSON)}}t.instanceOfExistingTransaction=function(e){return!0},t.ExistingTransactionFromJSON=function(e){return i(e)},t.ExistingTransactionFromJSONTyped=i,t.ExistingTransactionToJSON=function(e){return null==e?e:{account_id:e.account_id,date:e.date,amount:e.amount,payee_id:e.payee_id,payee_name:e.payee_name,category_id:e.category_id,memo:e.memo,cleared:(0,o.TransactionClearedStatusToJSON)(e.cleared),approved:e.approved,flag_color:(0,a.TransactionFlagColorToJSON)(e.flag_color),subtransactions:null==e.subtransactions?void 0:e.subtransactions.map(r.SaveSubTransactionToJSON)}}},4628:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HybridTransactionToJSON=t.HybridTransactionFromJSONTyped=t.HybridTransactionFromJSON=t.instanceOfHybridTransaction=t.HybridTransactionTypeEnum=t.HybridTransactionDebtTransactionTypeEnum=void 0;const a=n(6999),o=n(4839);function r(e,t){return null==e?e:{id:e.id,date:e.date,amount:e.amount,memo:null==e.memo?void 0:e.memo,cleared:(0,o.TransactionClearedStatusFromJSON)(e.cleared),approved:e.approved,flag_color:null==e.flag_color?void 0:(0,a.TransactionFlagColorFromJSON)(e.flag_color),flag_name:null==e.flag_name?void 0:e.flag_name,account_id:e.account_id,payee_id:null==e.payee_id?void 0:e.payee_id,category_id:null==e.category_id?void 0:e.category_id,transfer_account_id:null==e.transfer_account_id?void 0:e.transfer_account_id,transfer_transaction_id:null==e.transfer_transaction_id?void 0:e.transfer_transaction_id,matched_transaction_id:null==e.matched_transaction_id?void 0:e.matched_transaction_id,import_id:null==e.import_id?void 0:e.import_id,import_payee_name:null==e.import_payee_name?void 0:e.import_payee_name,import_payee_name_original:null==e.import_payee_name_original?void 0:e.import_payee_name_original,debt_transaction_type:null==e.debt_transaction_type?void 0:e.debt_transaction_type,deleted:e.deleted,type:e.type,parent_transaction_id:null==e.parent_transaction_id?void 0:e.parent_transaction_id,account_name:e.account_name,payee_name:null==e.payee_name?void 0:e.payee_name,category_name:null==e.category_name?void 0:e.category_name}}t.HybridTransactionDebtTransactionTypeEnum={Payment:"payment",Refund:"refund",Fee:"fee",Interest:"interest",Escrow:"escrow",BalanceAdjustment:"balanceAdjustment",Credit:"credit",Charge:"charge"},t.HybridTransactionTypeEnum={Transaction:"transaction",Subtransaction:"subtransaction"},t.instanceOfHybridTransaction=function(e){return"id"in e&&void 0!==e.id&&"date"in e&&void 0!==e.date&&"amount"in e&&void 0!==e.amount&&"cleared"in e&&void 0!==e.cleared&&"approved"in e&&void 0!==e.approved&&"account_id"in e&&void 0!==e.account_id&&"deleted"in e&&void 0!==e.deleted&&"type"in e&&void 0!==e.type&&"account_name"in e&&void 0!==e.account_name},t.HybridTransactionFromJSON=function(e){return r(e)},t.HybridTransactionFromJSONTyped=r,t.HybridTransactionToJSON=function(e){return null==e?e:{id:e.id,date:e.date,amount:e.amount,memo:e.memo,cleared:(0,o.TransactionClearedStatusToJSON)(e.cleared),approved:e.approved,flag_color:(0,a.TransactionFlagColorToJSON)(e.flag_color),flag_name:e.flag_name,account_id:e.account_id,payee_id:e.payee_id,category_id:e.category_id,transfer_account_id:e.transfer_account_id,transfer_transaction_id:e.transfer_transaction_id,matched_transaction_id:e.matched_transaction_id,import_id:e.import_id,import_payee_name:e.import_payee_name,import_payee_name_original:e.import_payee_name_original,debt_transaction_type:e.debt_transaction_type,deleted:e.deleted,type:e.type,parent_transaction_id:e.parent_transaction_id,account_name:e.account_name,payee_name:e.payee_name,category_name:e.category_name}}},6603:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HybridTransactionsResponseToJSON=t.HybridTransactionsResponseFromJSONTyped=t.HybridTransactionsResponseFromJSON=t.instanceOfHybridTransactionsResponse=void 0;const a=n(6269);function o(e,t){return null==e?e:{data:(0,a.HybridTransactionsResponseDataFromJSON)(e.data)}}t.instanceOfHybridTransactionsResponse=function(e){return"data"in e&&void 0!==e.data},t.HybridTransactionsResponseFromJSON=function(e){return o(e)},t.HybridTransactionsResponseFromJSONTyped=o,t.HybridTransactionsResponseToJSON=function(e){return null==e?e:{data:(0,a.HybridTransactionsResponseDataToJSON)(e.data)}}},6269:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HybridTransactionsResponseDataToJSON=t.HybridTransactionsResponseDataFromJSONTyped=t.HybridTransactionsResponseDataFromJSON=t.instanceOfHybridTransactionsResponseData=void 0;const a=n(4628);function o(e,t){return null==e?e:{transactions:e.transactions.map(a.HybridTransactionFromJSON),server_knowledge:null==e.server_knowledge?void 0:e.server_knowledge}}t.instanceOfHybridTransactionsResponseData=function(e){return"transactions"in e&&void 0!==e.transactions},t.HybridTransactionsResponseDataFromJSON=function(e){return o(e)},t.HybridTransactionsResponseDataFromJSONTyped=o,t.HybridTransactionsResponseDataToJSON=function(e){return null==e?e:{transactions:e.transactions.map(a.HybridTransactionToJSON),server_knowledge:e.server_knowledge}}},7069:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MonthDetailToJSON=t.MonthDetailFromJSONTyped=t.MonthDetailFromJSON=t.instanceOfMonthDetail=void 0;const a=n(7781);function o(e,t){return null==e?e:{month:e.month,note:null==e.note?void 0:e.note,income:e.income,budgeted:e.budgeted,activity:e.activity,to_be_budgeted:e.to_be_budgeted,age_of_money:null==e.age_of_money?void 0:e.age_of_money,deleted:e.deleted,categories:e.categories.map(a.CategoryFromJSON)}}t.instanceOfMonthDetail=function(e){return"month"in e&&void 0!==e.month&&"income"in e&&void 0!==e.income&&"budgeted"in e&&void 0!==e.budgeted&&"activity"in e&&void 0!==e.activity&&"to_be_budgeted"in e&&void 0!==e.to_be_budgeted&&"deleted"in e&&void 0!==e.deleted&&"categories"in e&&void 0!==e.categories},t.MonthDetailFromJSON=function(e){return o(e)},t.MonthDetailFromJSONTyped=o,t.MonthDetailToJSON=function(e){return null==e?e:{month:e.month,note:e.note,income:e.income,budgeted:e.budgeted,activity:e.activity,to_be_budgeted:e.to_be_budgeted,age_of_money:e.age_of_money,deleted:e.deleted,categories:e.categories.map(a.CategoryToJSON)}}},4972:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MonthDetailResponseToJSON=t.MonthDetailResponseFromJSONTyped=t.MonthDetailResponseFromJSON=t.instanceOfMonthDetailResponse=void 0;const a=n(6420);function o(e,t){return null==e?e:{data:(0,a.MonthDetailResponseDataFromJSON)(e.data)}}t.instanceOfMonthDetailResponse=function(e){return"data"in e&&void 0!==e.data},t.MonthDetailResponseFromJSON=function(e){return o(e)},t.MonthDetailResponseFromJSONTyped=o,t.MonthDetailResponseToJSON=function(e){return null==e?e:{data:(0,a.MonthDetailResponseDataToJSON)(e.data)}}},6420:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MonthDetailResponseDataToJSON=t.MonthDetailResponseDataFromJSONTyped=t.MonthDetailResponseDataFromJSON=t.instanceOfMonthDetailResponseData=void 0;const a=n(7069);function o(e,t){return null==e?e:{month:(0,a.MonthDetailFromJSON)(e.month)}}t.instanceOfMonthDetailResponseData=function(e){return"month"in e&&void 0!==e.month},t.MonthDetailResponseDataFromJSON=function(e){return o(e)},t.MonthDetailResponseDataFromJSONTyped=o,t.MonthDetailResponseDataToJSON=function(e){return null==e?e:{month:(0,a.MonthDetailToJSON)(e.month)}}},7059:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MonthSummariesResponseToJSON=t.MonthSummariesResponseFromJSONTyped=t.MonthSummariesResponseFromJSON=t.instanceOfMonthSummariesResponse=void 0;const a=n(5484);function o(e,t){return null==e?e:{data:(0,a.MonthSummariesResponseDataFromJSON)(e.data)}}t.instanceOfMonthSummariesResponse=function(e){return"data"in e&&void 0!==e.data},t.MonthSummariesResponseFromJSON=function(e){return o(e)},t.MonthSummariesResponseFromJSONTyped=o,t.MonthSummariesResponseToJSON=function(e){return null==e?e:{data:(0,a.MonthSummariesResponseDataToJSON)(e.data)}}},5484:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MonthSummariesResponseDataToJSON=t.MonthSummariesResponseDataFromJSONTyped=t.MonthSummariesResponseDataFromJSON=t.instanceOfMonthSummariesResponseData=void 0;const a=n(3842);function o(e,t){return null==e?e:{months:e.months.map(a.MonthSummaryFromJSON),server_knowledge:e.server_knowledge}}t.instanceOfMonthSummariesResponseData=function(e){return"months"in e&&void 0!==e.months&&"server_knowledge"in e&&void 0!==e.server_knowledge},t.MonthSummariesResponseDataFromJSON=function(e){return o(e)},t.MonthSummariesResponseDataFromJSONTyped=o,t.MonthSummariesResponseDataToJSON=function(e){return null==e?e:{months:e.months.map(a.MonthSummaryToJSON),server_knowledge:e.server_knowledge}}},3842:(e,t)=>{"use strict";function n(e,t){return null==e?e:{month:e.month,note:null==e.note?void 0:e.note,income:e.income,budgeted:e.budgeted,activity:e.activity,to_be_budgeted:e.to_be_budgeted,age_of_money:null==e.age_of_money?void 0:e.age_of_money,deleted:e.deleted}}Object.defineProperty(t,"__esModule",{value:!0}),t.MonthSummaryToJSON=t.MonthSummaryFromJSONTyped=t.MonthSummaryFromJSON=t.instanceOfMonthSummary=void 0,t.instanceOfMonthSummary=function(e){return"month"in e&&void 0!==e.month&&"income"in e&&void 0!==e.income&&"budgeted"in e&&void 0!==e.budgeted&&"activity"in e&&void 0!==e.activity&&"to_be_budgeted"in e&&void 0!==e.to_be_budgeted&&"deleted"in e&&void 0!==e.deleted},t.MonthSummaryFromJSON=function(e){return n(e)},t.MonthSummaryFromJSONTyped=n,t.MonthSummaryToJSON=function(e){return null==e?e:{month:e.month,note:e.note,income:e.income,budgeted:e.budgeted,activity:e.activity,to_be_budgeted:e.to_be_budgeted,age_of_money:e.age_of_money,deleted:e.deleted}}},6024:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NewTransactionToJSON=t.NewTransactionFromJSONTyped=t.NewTransactionFromJSON=t.instanceOfNewTransaction=void 0;const a=n(6999),o=n(4839),r=n(9503);function i(e,t){return null==e?e:{account_id:null==e.account_id?void 0:e.account_id,date:null==e.date?void 0:e.date,amount:null==e.amount?void 0:e.amount,payee_id:null==e.payee_id?void 0:e.payee_id,payee_name:null==e.payee_name?void 0:e.payee_name,category_id:null==e.category_id?void 0:e.category_id,memo:null==e.memo?void 0:e.memo,cleared:null==e.cleared?void 0:(0,o.TransactionClearedStatusFromJSON)(e.cleared),approved:null==e.approved?void 0:e.approved,flag_color:null==e.flag_color?void 0:(0,a.TransactionFlagColorFromJSON)(e.flag_color),subtransactions:null==e.subtransactions?void 0:e.subtransactions.map(r.SaveSubTransactionFromJSON),import_id:null==e.import_id?void 0:e.import_id}}t.instanceOfNewTransaction=function(e){return!0},t.NewTransactionFromJSON=function(e){return i(e)},t.NewTransactionFromJSONTyped=i,t.NewTransactionToJSON=function(e){return null==e?e:{account_id:e.account_id,date:e.date,amount:e.amount,payee_id:e.payee_id,payee_name:e.payee_name,category_id:e.category_id,memo:e.memo,cleared:(0,o.TransactionClearedStatusToJSON)(e.cleared),approved:e.approved,flag_color:(0,a.TransactionFlagColorToJSON)(e.flag_color),subtransactions:null==e.subtransactions?void 0:e.subtransactions.map(r.SaveSubTransactionToJSON),import_id:e.import_id}}},4077:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PatchCategoryWrapperToJSON=t.PatchCategoryWrapperFromJSONTyped=t.PatchCategoryWrapperFromJSON=t.instanceOfPatchCategoryWrapper=void 0;const a=n(6702);function o(e,t){return null==e?e:{category:(0,a.SaveCategoryFromJSON)(e.category)}}t.instanceOfPatchCategoryWrapper=function(e){return"category"in e&&void 0!==e.category},t.PatchCategoryWrapperFromJSON=function(e){return o(e)},t.PatchCategoryWrapperFromJSONTyped=o,t.PatchCategoryWrapperToJSON=function(e){return null==e?e:{category:(0,a.SaveCategoryToJSON)(e.category)}}},3497:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PatchMonthCategoryWrapperToJSON=t.PatchMonthCategoryWrapperFromJSONTyped=t.PatchMonthCategoryWrapperFromJSON=t.instanceOfPatchMonthCategoryWrapper=void 0;const a=n(238);function o(e,t){return null==e?e:{category:(0,a.SaveMonthCategoryFromJSON)(e.category)}}t.instanceOfPatchMonthCategoryWrapper=function(e){return"category"in e&&void 0!==e.category},t.PatchMonthCategoryWrapperFromJSON=function(e){return o(e)},t.PatchMonthCategoryWrapperFromJSONTyped=o,t.PatchMonthCategoryWrapperToJSON=function(e){return null==e?e:{category:(0,a.SaveMonthCategoryToJSON)(e.category)}}},3877:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PatchPayeeWrapperToJSON=t.PatchPayeeWrapperFromJSONTyped=t.PatchPayeeWrapperFromJSON=t.instanceOfPatchPayeeWrapper=void 0;const a=n(6039);function o(e,t){return null==e?e:{payee:(0,a.SavePayeeFromJSON)(e.payee)}}t.instanceOfPatchPayeeWrapper=function(e){return"payee"in e&&void 0!==e.payee},t.PatchPayeeWrapperFromJSON=function(e){return o(e)},t.PatchPayeeWrapperFromJSONTyped=o,t.PatchPayeeWrapperToJSON=function(e){return null==e?e:{payee:(0,a.SavePayeeToJSON)(e.payee)}}},3801:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PatchTransactionsWrapperToJSON=t.PatchTransactionsWrapperFromJSONTyped=t.PatchTransactionsWrapperFromJSON=t.instanceOfPatchTransactionsWrapper=void 0;const a=n(82);function o(e,t){return null==e?e:{transactions:e.transactions.map(a.SaveTransactionWithIdOrImportIdFromJSON)}}t.instanceOfPatchTransactionsWrapper=function(e){return"transactions"in e&&void 0!==e.transactions},t.PatchTransactionsWrapperFromJSON=function(e){return o(e)},t.PatchTransactionsWrapperFromJSONTyped=o,t.PatchTransactionsWrapperToJSON=function(e){return null==e?e:{transactions:e.transactions.map(a.SaveTransactionWithIdOrImportIdToJSON)}}},3572:(e,t)=>{"use strict";function n(e,t){return null==e?e:{id:e.id,name:e.name,transfer_account_id:null==e.transfer_account_id?void 0:e.transfer_account_id,deleted:e.deleted}}Object.defineProperty(t,"__esModule",{value:!0}),t.PayeeToJSON=t.PayeeFromJSONTyped=t.PayeeFromJSON=t.instanceOfPayee=void 0,t.instanceOfPayee=function(e){return"id"in e&&void 0!==e.id&&"name"in e&&void 0!==e.name&&"deleted"in e&&void 0!==e.deleted},t.PayeeFromJSON=function(e){return n(e)},t.PayeeFromJSONTyped=n,t.PayeeToJSON=function(e){return null==e?e:{id:e.id,name:e.name,transfer_account_id:e.transfer_account_id,deleted:e.deleted}}},1893:(e,t)=>{"use strict";function n(e,t){return null==e?e:{id:e.id,payee_id:e.payee_id,latitude:e.latitude,longitude:e.longitude,deleted:e.deleted}}Object.defineProperty(t,"__esModule",{value:!0}),t.PayeeLocationToJSON=t.PayeeLocationFromJSONTyped=t.PayeeLocationFromJSON=t.instanceOfPayeeLocation=void 0,t.instanceOfPayeeLocation=function(e){return"id"in e&&void 0!==e.id&&"payee_id"in e&&void 0!==e.payee_id&&"latitude"in e&&void 0!==e.latitude&&"longitude"in e&&void 0!==e.longitude&&"deleted"in e&&void 0!==e.deleted},t.PayeeLocationFromJSON=function(e){return n(e)},t.PayeeLocationFromJSONTyped=n,t.PayeeLocationToJSON=function(e){return null==e?e:{id:e.id,payee_id:e.payee_id,latitude:e.latitude,longitude:e.longitude,deleted:e.deleted}}},6250:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PayeeLocationResponseToJSON=t.PayeeLocationResponseFromJSONTyped=t.PayeeLocationResponseFromJSON=t.instanceOfPayeeLocationResponse=void 0;const a=n(4076);function o(e,t){return null==e?e:{data:(0,a.PayeeLocationResponseDataFromJSON)(e.data)}}t.instanceOfPayeeLocationResponse=function(e){return"data"in e&&void 0!==e.data},t.PayeeLocationResponseFromJSON=function(e){return o(e)},t.PayeeLocationResponseFromJSONTyped=o,t.PayeeLocationResponseToJSON=function(e){return null==e?e:{data:(0,a.PayeeLocationResponseDataToJSON)(e.data)}}},4076:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PayeeLocationResponseDataToJSON=t.PayeeLocationResponseDataFromJSONTyped=t.PayeeLocationResponseDataFromJSON=t.instanceOfPayeeLocationResponseData=void 0;const a=n(1893);function o(e,t){return null==e?e:{payee_location:(0,a.PayeeLocationFromJSON)(e.payee_location)}}t.instanceOfPayeeLocationResponseData=function(e){return"payee_location"in e&&void 0!==e.payee_location},t.PayeeLocationResponseDataFromJSON=function(e){return o(e)},t.PayeeLocationResponseDataFromJSONTyped=o,t.PayeeLocationResponseDataToJSON=function(e){return null==e?e:{payee_location:(0,a.PayeeLocationToJSON)(e.payee_location)}}},1553:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PayeeLocationsResponseToJSON=t.PayeeLocationsResponseFromJSONTyped=t.PayeeLocationsResponseFromJSON=t.instanceOfPayeeLocationsResponse=void 0;const a=n(7453);function o(e,t){return null==e?e:{data:(0,a.PayeeLocationsResponseDataFromJSON)(e.data)}}t.instanceOfPayeeLocationsResponse=function(e){return"data"in e&&void 0!==e.data},t.PayeeLocationsResponseFromJSON=function(e){return o(e)},t.PayeeLocationsResponseFromJSONTyped=o,t.PayeeLocationsResponseToJSON=function(e){return null==e?e:{data:(0,a.PayeeLocationsResponseDataToJSON)(e.data)}}},7453:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PayeeLocationsResponseDataToJSON=t.PayeeLocationsResponseDataFromJSONTyped=t.PayeeLocationsResponseDataFromJSON=t.instanceOfPayeeLocationsResponseData=void 0;const a=n(1893);function o(e,t){return null==e?e:{payee_locations:e.payee_locations.map(a.PayeeLocationFromJSON)}}t.instanceOfPayeeLocationsResponseData=function(e){return"payee_locations"in e&&void 0!==e.payee_locations},t.PayeeLocationsResponseDataFromJSON=function(e){return o(e)},t.PayeeLocationsResponseDataFromJSONTyped=o,t.PayeeLocationsResponseDataToJSON=function(e){return null==e?e:{payee_locations:e.payee_locations.map(a.PayeeLocationToJSON)}}},8281:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PayeeResponseToJSON=t.PayeeResponseFromJSONTyped=t.PayeeResponseFromJSON=t.instanceOfPayeeResponse=void 0;const a=n(9659);function o(e,t){return null==e?e:{data:(0,a.PayeeResponseDataFromJSON)(e.data)}}t.instanceOfPayeeResponse=function(e){return"data"in e&&void 0!==e.data},t.PayeeResponseFromJSON=function(e){return o(e)},t.PayeeResponseFromJSONTyped=o,t.PayeeResponseToJSON=function(e){return null==e?e:{data:(0,a.PayeeResponseDataToJSON)(e.data)}}},9659:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PayeeResponseDataToJSON=t.PayeeResponseDataFromJSONTyped=t.PayeeResponseDataFromJSON=t.instanceOfPayeeResponseData=void 0;const a=n(3572);function o(e,t){return null==e?e:{payee:(0,a.PayeeFromJSON)(e.payee)}}t.instanceOfPayeeResponseData=function(e){return"payee"in e&&void 0!==e.payee},t.PayeeResponseDataFromJSON=function(e){return o(e)},t.PayeeResponseDataFromJSONTyped=o,t.PayeeResponseDataToJSON=function(e){return null==e?e:{payee:(0,a.PayeeToJSON)(e.payee)}}},9395:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PayeesResponseToJSON=t.PayeesResponseFromJSONTyped=t.PayeesResponseFromJSON=t.instanceOfPayeesResponse=void 0;const a=n(5144);function o(e,t){return null==e?e:{data:(0,a.PayeesResponseDataFromJSON)(e.data)}}t.instanceOfPayeesResponse=function(e){return"data"in e&&void 0!==e.data},t.PayeesResponseFromJSON=function(e){return o(e)},t.PayeesResponseFromJSONTyped=o,t.PayeesResponseToJSON=function(e){return null==e?e:{data:(0,a.PayeesResponseDataToJSON)(e.data)}}},5144:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PayeesResponseDataToJSON=t.PayeesResponseDataFromJSONTyped=t.PayeesResponseDataFromJSON=t.instanceOfPayeesResponseData=void 0;const a=n(3572);function o(e,t){return null==e?e:{payees:e.payees.map(a.PayeeFromJSON),server_knowledge:e.server_knowledge}}t.instanceOfPayeesResponseData=function(e){return"payees"in e&&void 0!==e.payees&&"server_knowledge"in e&&void 0!==e.server_knowledge},t.PayeesResponseDataFromJSON=function(e){return o(e)},t.PayeesResponseDataFromJSONTyped=o,t.PayeesResponseDataToJSON=function(e){return null==e?e:{payees:e.payees.map(a.PayeeToJSON),server_knowledge:e.server_knowledge}}},3306:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PostAccountWrapperToJSON=t.PostAccountWrapperFromJSONTyped=t.PostAccountWrapperFromJSON=t.instanceOfPostAccountWrapper=void 0;const a=n(8463);function o(e,t){return null==e?e:{account:(0,a.SaveAccountFromJSON)(e.account)}}t.instanceOfPostAccountWrapper=function(e){return"account"in e&&void 0!==e.account},t.PostAccountWrapperFromJSON=function(e){return o(e)},t.PostAccountWrapperFromJSONTyped=o,t.PostAccountWrapperToJSON=function(e){return null==e?e:{account:(0,a.SaveAccountToJSON)(e.account)}}},7475:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PostScheduledTransactionWrapperToJSON=t.PostScheduledTransactionWrapperFromJSONTyped=t.PostScheduledTransactionWrapperFromJSON=t.instanceOfPostScheduledTransactionWrapper=void 0;const a=n(3006);function o(e,t){return null==e?e:{scheduled_transaction:(0,a.SaveScheduledTransactionFromJSON)(e.scheduled_transaction)}}t.instanceOfPostScheduledTransactionWrapper=function(e){return"scheduled_transaction"in e&&void 0!==e.scheduled_transaction},t.PostScheduledTransactionWrapperFromJSON=function(e){return o(e)},t.PostScheduledTransactionWrapperFromJSONTyped=o,t.PostScheduledTransactionWrapperToJSON=function(e){return null==e?e:{scheduled_transaction:(0,a.SaveScheduledTransactionToJSON)(e.scheduled_transaction)}}},9429:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PostTransactionsWrapperToJSON=t.PostTransactionsWrapperFromJSONTyped=t.PostTransactionsWrapperFromJSON=t.instanceOfPostTransactionsWrapper=void 0;const a=n(6024);function o(e,t){return null==e?e:{transaction:null==e.transaction?void 0:(0,a.NewTransactionFromJSON)(e.transaction),transactions:null==e.transactions?void 0:e.transactions.map(a.NewTransactionFromJSON)}}t.instanceOfPostTransactionsWrapper=function(e){return!0},t.PostTransactionsWrapperFromJSON=function(e){return o(e)},t.PostTransactionsWrapperFromJSONTyped=o,t.PostTransactionsWrapperToJSON=function(e){return null==e?e:{transaction:(0,a.NewTransactionToJSON)(e.transaction),transactions:null==e.transactions?void 0:e.transactions.map(a.NewTransactionToJSON)}}},4032:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PutTransactionWrapperToJSON=t.PutTransactionWrapperFromJSONTyped=t.PutTransactionWrapperFromJSON=t.instanceOfPutTransactionWrapper=void 0;const a=n(5195);function o(e,t){return null==e?e:{transaction:(0,a.ExistingTransactionFromJSON)(e.transaction)}}t.instanceOfPutTransactionWrapper=function(e){return"transaction"in e&&void 0!==e.transaction},t.PutTransactionWrapperFromJSON=function(e){return o(e)},t.PutTransactionWrapperFromJSONTyped=o,t.PutTransactionWrapperToJSON=function(e){return null==e?e:{transaction:(0,a.ExistingTransactionToJSON)(e.transaction)}}},8463:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SaveAccountToJSON=t.SaveAccountFromJSONTyped=t.SaveAccountFromJSON=t.instanceOfSaveAccount=void 0;const a=n(809);function o(e,t){return null==e?e:{name:e.name,type:(0,a.AccountTypeFromJSON)(e.type),balance:e.balance}}t.instanceOfSaveAccount=function(e){return"name"in e&&void 0!==e.name&&"type"in e&&void 0!==e.type&&"balance"in e&&void 0!==e.balance},t.SaveAccountFromJSON=function(e){return o(e)},t.SaveAccountFromJSONTyped=o,t.SaveAccountToJSON=function(e){return null==e?e:{name:e.name,type:(0,a.AccountTypeToJSON)(e.type),balance:e.balance}}},6702:(e,t)=>{"use strict";function n(e,t){return null==e?e:{name:null==e.name?void 0:e.name,note:null==e.note?void 0:e.note,category_group_id:null==e.category_group_id?void 0:e.category_group_id}}Object.defineProperty(t,"__esModule",{value:!0}),t.SaveCategoryToJSON=t.SaveCategoryFromJSONTyped=t.SaveCategoryFromJSON=t.instanceOfSaveCategory=void 0,t.instanceOfSaveCategory=function(e){return!0},t.SaveCategoryFromJSON=function(e){return n(e)},t.SaveCategoryFromJSONTyped=n,t.SaveCategoryToJSON=function(e){return null==e?e:{name:e.name,note:e.note,category_group_id:e.category_group_id}}},8546:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SaveCategoryResponseToJSON=t.SaveCategoryResponseFromJSONTyped=t.SaveCategoryResponseFromJSON=t.instanceOfSaveCategoryResponse=void 0;const a=n(6798);function o(e,t){return null==e?e:{data:(0,a.SaveCategoryResponseDataFromJSON)(e.data)}}t.instanceOfSaveCategoryResponse=function(e){return"data"in e&&void 0!==e.data},t.SaveCategoryResponseFromJSON=function(e){return o(e)},t.SaveCategoryResponseFromJSONTyped=o,t.SaveCategoryResponseToJSON=function(e){return null==e?e:{data:(0,a.SaveCategoryResponseDataToJSON)(e.data)}}},6798:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SaveCategoryResponseDataToJSON=t.SaveCategoryResponseDataFromJSONTyped=t.SaveCategoryResponseDataFromJSON=t.instanceOfSaveCategoryResponseData=void 0;const a=n(7781);function o(e,t){return null==e?e:{category:(0,a.CategoryFromJSON)(e.category),server_knowledge:e.server_knowledge}}t.instanceOfSaveCategoryResponseData=function(e){return"category"in e&&void 0!==e.category&&"server_knowledge"in e&&void 0!==e.server_knowledge},t.SaveCategoryResponseDataFromJSON=function(e){return o(e)},t.SaveCategoryResponseDataFromJSONTyped=o,t.SaveCategoryResponseDataToJSON=function(e){return null==e?e:{category:(0,a.CategoryToJSON)(e.category),server_knowledge:e.server_knowledge}}},238:(e,t)=>{"use strict";function n(e,t){return null==e?e:{budgeted:e.budgeted}}Object.defineProperty(t,"__esModule",{value:!0}),t.SaveMonthCategoryToJSON=t.SaveMonthCategoryFromJSONTyped=t.SaveMonthCategoryFromJSON=t.instanceOfSaveMonthCategory=void 0,t.instanceOfSaveMonthCategory=function(e){return"budgeted"in e&&void 0!==e.budgeted},t.SaveMonthCategoryFromJSON=function(e){return n(e)},t.SaveMonthCategoryFromJSONTyped=n,t.SaveMonthCategoryToJSON=function(e){return null==e?e:{budgeted:e.budgeted}}},6039:(e,t)=>{"use strict";function n(e,t){return null==e?e:{name:null==e.name?void 0:e.name}}Object.defineProperty(t,"__esModule",{value:!0}),t.SavePayeeToJSON=t.SavePayeeFromJSONTyped=t.SavePayeeFromJSON=t.instanceOfSavePayee=void 0,t.instanceOfSavePayee=function(e){return!0},t.SavePayeeFromJSON=function(e){return n(e)},t.SavePayeeFromJSONTyped=n,t.SavePayeeToJSON=function(e){return null==e?e:{name:e.name}}},3738:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SavePayeeResponseToJSON=t.SavePayeeResponseFromJSONTyped=t.SavePayeeResponseFromJSON=t.instanceOfSavePayeeResponse=void 0;const a=n(1467);function o(e,t){return null==e?e:{data:(0,a.SavePayeeResponseDataFromJSON)(e.data)}}t.instanceOfSavePayeeResponse=function(e){return"data"in e&&void 0!==e.data},t.SavePayeeResponseFromJSON=function(e){return o(e)},t.SavePayeeResponseFromJSONTyped=o,t.SavePayeeResponseToJSON=function(e){return null==e?e:{data:(0,a.SavePayeeResponseDataToJSON)(e.data)}}},1467:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SavePayeeResponseDataToJSON=t.SavePayeeResponseDataFromJSONTyped=t.SavePayeeResponseDataFromJSON=t.instanceOfSavePayeeResponseData=void 0;const a=n(3572);function o(e,t){return null==e?e:{payee:(0,a.PayeeFromJSON)(e.payee),server_knowledge:e.server_knowledge}}t.instanceOfSavePayeeResponseData=function(e){return"payee"in e&&void 0!==e.payee&&"server_knowledge"in e&&void 0!==e.server_knowledge},t.SavePayeeResponseDataFromJSON=function(e){return o(e)},t.SavePayeeResponseDataFromJSONTyped=o,t.SavePayeeResponseDataToJSON=function(e){return null==e?e:{payee:(0,a.PayeeToJSON)(e.payee),server_knowledge:e.server_knowledge}}},3006:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SaveScheduledTransactionToJSON=t.SaveScheduledTransactionFromJSONTyped=t.SaveScheduledTransactionFromJSON=t.instanceOfSaveScheduledTransaction=void 0;const a=n(6999),o=n(5581);function r(e,t){return null==e?e:{account_id:e.account_id,date:e.date,amount:null==e.amount?void 0:e.amount,payee_id:null==e.payee_id?void 0:e.payee_id,payee_name:null==e.payee_name?void 0:e.payee_name,category_id:null==e.category_id?void 0:e.category_id,memo:null==e.memo?void 0:e.memo,flag_color:null==e.flag_color?void 0:(0,a.TransactionFlagColorFromJSON)(e.flag_color),frequency:null==e.frequency?void 0:(0,o.ScheduledTransactionFrequencyFromJSON)(e.frequency)}}t.instanceOfSaveScheduledTransaction=function(e){return"account_id"in e&&void 0!==e.account_id&&"date"in e&&void 0!==e.date},t.SaveScheduledTransactionFromJSON=function(e){return r(e)},t.SaveScheduledTransactionFromJSONTyped=r,t.SaveScheduledTransactionToJSON=function(e){return null==e?e:{account_id:e.account_id,date:e.date,amount:e.amount,payee_id:e.payee_id,payee_name:e.payee_name,category_id:e.category_id,memo:e.memo,flag_color:(0,a.TransactionFlagColorToJSON)(e.flag_color),frequency:(0,o.ScheduledTransactionFrequencyToJSON)(e.frequency)}}},9503:(e,t)=>{"use strict";function n(e,t){return null==e?e:{amount:e.amount,payee_id:null==e.payee_id?void 0:e.payee_id,payee_name:null==e.payee_name?void 0:e.payee_name,category_id:null==e.category_id?void 0:e.category_id,memo:null==e.memo?void 0:e.memo}}Object.defineProperty(t,"__esModule",{value:!0}),t.SaveSubTransactionToJSON=t.SaveSubTransactionFromJSONTyped=t.SaveSubTransactionFromJSON=t.instanceOfSaveSubTransaction=void 0,t.instanceOfSaveSubTransaction=function(e){return"amount"in e&&void 0!==e.amount},t.SaveSubTransactionFromJSON=function(e){return n(e)},t.SaveSubTransactionFromJSONTyped=n,t.SaveSubTransactionToJSON=function(e){return null==e?e:{amount:e.amount,payee_id:e.payee_id,payee_name:e.payee_name,category_id:e.category_id,memo:e.memo}}},82:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SaveTransactionWithIdOrImportIdToJSON=t.SaveTransactionWithIdOrImportIdFromJSONTyped=t.SaveTransactionWithIdOrImportIdFromJSON=t.instanceOfSaveTransactionWithIdOrImportId=void 0;const a=n(6999),o=n(4839),r=n(9503);function i(e,t){return null==e?e:{account_id:null==e.account_id?void 0:e.account_id,date:null==e.date?void 0:e.date,amount:null==e.amount?void 0:e.amount,payee_id:null==e.payee_id?void 0:e.payee_id,payee_name:null==e.payee_name?void 0:e.payee_name,category_id:null==e.category_id?void 0:e.category_id,memo:null==e.memo?void 0:e.memo,cleared:null==e.cleared?void 0:(0,o.TransactionClearedStatusFromJSON)(e.cleared),approved:null==e.approved?void 0:e.approved,flag_color:null==e.flag_color?void 0:(0,a.TransactionFlagColorFromJSON)(e.flag_color),subtransactions:null==e.subtransactions?void 0:e.subtransactions.map(r.SaveSubTransactionFromJSON),id:null==e.id?void 0:e.id,import_id:null==e.import_id?void 0:e.import_id}}t.instanceOfSaveTransactionWithIdOrImportId=function(e){return!0},t.SaveTransactionWithIdOrImportIdFromJSON=function(e){return i(e)},t.SaveTransactionWithIdOrImportIdFromJSONTyped=i,t.SaveTransactionWithIdOrImportIdToJSON=function(e){return null==e?e:{account_id:e.account_id,date:e.date,amount:e.amount,payee_id:e.payee_id,payee_name:e.payee_name,category_id:e.category_id,memo:e.memo,cleared:(0,o.TransactionClearedStatusToJSON)(e.cleared),approved:e.approved,flag_color:(0,a.TransactionFlagColorToJSON)(e.flag_color),subtransactions:null==e.subtransactions?void 0:e.subtransactions.map(r.SaveSubTransactionToJSON),id:e.id,import_id:e.import_id}}},1962:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SaveTransactionWithOptionalFieldsToJSON=t.SaveTransactionWithOptionalFieldsFromJSONTyped=t.SaveTransactionWithOptionalFieldsFromJSON=t.instanceOfSaveTransactionWithOptionalFields=void 0;const a=n(6999),o=n(4839),r=n(9503);function i(e,t){return null==e?e:{account_id:null==e.account_id?void 0:e.account_id,date:null==e.date?void 0:e.date,amount:null==e.amount?void 0:e.amount,payee_id:null==e.payee_id?void 0:e.payee_id,payee_name:null==e.payee_name?void 0:e.payee_name,category_id:null==e.category_id?void 0:e.category_id,memo:null==e.memo?void 0:e.memo,cleared:null==e.cleared?void 0:(0,o.TransactionClearedStatusFromJSON)(e.cleared),approved:null==e.approved?void 0:e.approved,flag_color:null==e.flag_color?void 0:(0,a.TransactionFlagColorFromJSON)(e.flag_color),subtransactions:null==e.subtransactions?void 0:e.subtransactions.map(r.SaveSubTransactionFromJSON)}}t.instanceOfSaveTransactionWithOptionalFields=function(e){return!0},t.SaveTransactionWithOptionalFieldsFromJSON=function(e){return i(e)},t.SaveTransactionWithOptionalFieldsFromJSONTyped=i,t.SaveTransactionWithOptionalFieldsToJSON=function(e){return null==e?e:{account_id:e.account_id,date:e.date,amount:e.amount,payee_id:e.payee_id,payee_name:e.payee_name,category_id:e.category_id,memo:e.memo,cleared:(0,o.TransactionClearedStatusToJSON)(e.cleared),approved:e.approved,flag_color:(0,a.TransactionFlagColorToJSON)(e.flag_color),subtransactions:null==e.subtransactions?void 0:e.subtransactions.map(r.SaveSubTransactionToJSON)}}},4350:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SaveTransactionsResponseToJSON=t.SaveTransactionsResponseFromJSONTyped=t.SaveTransactionsResponseFromJSON=t.instanceOfSaveTransactionsResponse=void 0;const a=n(8204);function o(e,t){return null==e?e:{data:(0,a.SaveTransactionsResponseDataFromJSON)(e.data)}}t.instanceOfSaveTransactionsResponse=function(e){return"data"in e&&void 0!==e.data},t.SaveTransactionsResponseFromJSON=function(e){return o(e)},t.SaveTransactionsResponseFromJSONTyped=o,t.SaveTransactionsResponseToJSON=function(e){return null==e?e:{data:(0,a.SaveTransactionsResponseDataToJSON)(e.data)}}},8204:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SaveTransactionsResponseDataToJSON=t.SaveTransactionsResponseDataFromJSONTyped=t.SaveTransactionsResponseDataFromJSON=t.instanceOfSaveTransactionsResponseData=void 0;const a=n(8687);function o(e,t){return null==e?e:{transaction_ids:e.transaction_ids,transaction:null==e.transaction?void 0:(0,a.TransactionDetailFromJSON)(e.transaction),transactions:null==e.transactions?void 0:e.transactions.map(a.TransactionDetailFromJSON),duplicate_import_ids:null==e.duplicate_import_ids?void 0:e.duplicate_import_ids,server_knowledge:e.server_knowledge}}t.instanceOfSaveTransactionsResponseData=function(e){return"transaction_ids"in e&&void 0!==e.transaction_ids&&"server_knowledge"in e&&void 0!==e.server_knowledge},t.SaveTransactionsResponseDataFromJSON=function(e){return o(e)},t.SaveTransactionsResponseDataFromJSONTyped=o,t.SaveTransactionsResponseDataToJSON=function(e){return null==e?e:{transaction_ids:e.transaction_ids,transaction:(0,a.TransactionDetailToJSON)(e.transaction),transactions:null==e.transactions?void 0:e.transactions.map(a.TransactionDetailToJSON),duplicate_import_ids:e.duplicate_import_ids,server_knowledge:e.server_knowledge}}},5695:(e,t)=>{"use strict";function n(e,t){return null==e?e:{id:e.id,scheduled_transaction_id:e.scheduled_transaction_id,amount:e.amount,memo:null==e.memo?void 0:e.memo,payee_id:null==e.payee_id?void 0:e.payee_id,category_id:null==e.category_id?void 0:e.category_id,transfer_account_id:null==e.transfer_account_id?void 0:e.transfer_account_id,deleted:e.deleted}}Object.defineProperty(t,"__esModule",{value:!0}),t.ScheduledSubTransactionToJSON=t.ScheduledSubTransactionFromJSONTyped=t.ScheduledSubTransactionFromJSON=t.instanceOfScheduledSubTransaction=void 0,t.instanceOfScheduledSubTransaction=function(e){return"id"in e&&void 0!==e.id&&"scheduled_transaction_id"in e&&void 0!==e.scheduled_transaction_id&&"amount"in e&&void 0!==e.amount&&"deleted"in e&&void 0!==e.deleted},t.ScheduledSubTransactionFromJSON=function(e){return n(e)},t.ScheduledSubTransactionFromJSONTyped=n,t.ScheduledSubTransactionToJSON=function(e){return null==e?e:{id:e.id,scheduled_transaction_id:e.scheduled_transaction_id,amount:e.amount,memo:e.memo,payee_id:e.payee_id,category_id:e.category_id,transfer_account_id:e.transfer_account_id,deleted:e.deleted}}},4795:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ScheduledTransactionDetailToJSON=t.ScheduledTransactionDetailFromJSONTyped=t.ScheduledTransactionDetailFromJSON=t.instanceOfScheduledTransactionDetail=t.ScheduledTransactionDetailFrequencyEnum=void 0;const a=n(6999),o=n(5695);function r(e,t){return null==e?e:{id:e.id,date_first:e.date_first,date_next:e.date_next,frequency:e.frequency,amount:e.amount,memo:null==e.memo?void 0:e.memo,flag_color:null==e.flag_color?void 0:(0,a.TransactionFlagColorFromJSON)(e.flag_color),flag_name:null==e.flag_name?void 0:e.flag_name,account_id:e.account_id,payee_id:null==e.payee_id?void 0:e.payee_id,category_id:null==e.category_id?void 0:e.category_id,transfer_account_id:null==e.transfer_account_id?void 0:e.transfer_account_id,deleted:e.deleted,account_name:e.account_name,payee_name:null==e.payee_name?void 0:e.payee_name,category_name:null==e.category_name?void 0:e.category_name,subtransactions:e.subtransactions.map(o.ScheduledSubTransactionFromJSON)}}t.ScheduledTransactionDetailFrequencyEnum={Never:"never",Daily:"daily",Weekly:"weekly",EveryOtherWeek:"everyOtherWeek",TwiceAMonth:"twiceAMonth",Every4Weeks:"every4Weeks",Monthly:"monthly",EveryOtherMonth:"everyOtherMonth",Every3Months:"every3Months",Every4Months:"every4Months",TwiceAYear:"twiceAYear",Yearly:"yearly",EveryOtherYear:"everyOtherYear"},t.instanceOfScheduledTransactionDetail=function(e){return"id"in e&&void 0!==e.id&&"date_first"in e&&void 0!==e.date_first&&"date_next"in e&&void 0!==e.date_next&&"frequency"in e&&void 0!==e.frequency&&"amount"in e&&void 0!==e.amount&&"account_id"in e&&void 0!==e.account_id&&"deleted"in e&&void 0!==e.deleted&&"account_name"in e&&void 0!==e.account_name&&"subtransactions"in e&&void 0!==e.subtransactions},t.ScheduledTransactionDetailFromJSON=function(e){return r(e)},t.ScheduledTransactionDetailFromJSONTyped=r,t.ScheduledTransactionDetailToJSON=function(e){return null==e?e:{id:e.id,date_first:e.date_first,date_next:e.date_next,frequency:e.frequency,amount:e.amount,memo:e.memo,flag_color:(0,a.TransactionFlagColorToJSON)(e.flag_color),flag_name:e.flag_name,account_id:e.account_id,payee_id:e.payee_id,category_id:e.category_id,transfer_account_id:e.transfer_account_id,deleted:e.deleted,account_name:e.account_name,payee_name:e.payee_name,category_name:e.category_name,subtransactions:e.subtransactions.map(o.ScheduledSubTransactionToJSON)}}},5581:(e,t)=>{"use strict";function n(e,t){return e}Object.defineProperty(t,"__esModule",{value:!0}),t.ScheduledTransactionFrequencyToJSON=t.ScheduledTransactionFrequencyFromJSONTyped=t.ScheduledTransactionFrequencyFromJSON=t.instanceOfScheduledTransactionFrequency=t.ScheduledTransactionFrequency=void 0,t.ScheduledTransactionFrequency={Never:"never",Daily:"daily",Weekly:"weekly",EveryOtherWeek:"everyOtherWeek",TwiceAMonth:"twiceAMonth",Every4Weeks:"every4Weeks",Monthly:"monthly",EveryOtherMonth:"everyOtherMonth",Every3Months:"every3Months",Every4Months:"every4Months",TwiceAYear:"twiceAYear",Yearly:"yearly",EveryOtherYear:"everyOtherYear"},t.instanceOfScheduledTransactionFrequency=function(e){for(const n in t.ScheduledTransactionFrequency)if(Object.prototype.hasOwnProperty.call(t.ScheduledTransactionFrequency,n)&&t.ScheduledTransactionFrequency[n]===e)return!0;return!1},t.ScheduledTransactionFrequencyFromJSON=function(e){return n(e)},t.ScheduledTransactionFrequencyFromJSONTyped=n,t.ScheduledTransactionFrequencyToJSON=function(e){return e}},166:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ScheduledTransactionResponseToJSON=t.ScheduledTransactionResponseFromJSONTyped=t.ScheduledTransactionResponseFromJSON=t.instanceOfScheduledTransactionResponse=void 0;const a=n(3686);function o(e,t){return null==e?e:{data:(0,a.ScheduledTransactionResponseDataFromJSON)(e.data)}}t.instanceOfScheduledTransactionResponse=function(e){return"data"in e&&void 0!==e.data},t.ScheduledTransactionResponseFromJSON=function(e){return o(e)},t.ScheduledTransactionResponseFromJSONTyped=o,t.ScheduledTransactionResponseToJSON=function(e){return null==e?e:{data:(0,a.ScheduledTransactionResponseDataToJSON)(e.data)}}},3686:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ScheduledTransactionResponseDataToJSON=t.ScheduledTransactionResponseDataFromJSONTyped=t.ScheduledTransactionResponseDataFromJSON=t.instanceOfScheduledTransactionResponseData=void 0;const a=n(4795);function o(e,t){return null==e?e:{scheduled_transaction:(0,a.ScheduledTransactionDetailFromJSON)(e.scheduled_transaction)}}t.instanceOfScheduledTransactionResponseData=function(e){return"scheduled_transaction"in e&&void 0!==e.scheduled_transaction},t.ScheduledTransactionResponseDataFromJSON=function(e){return o(e)},t.ScheduledTransactionResponseDataFromJSONTyped=o,t.ScheduledTransactionResponseDataToJSON=function(e){return null==e?e:{scheduled_transaction:(0,a.ScheduledTransactionDetailToJSON)(e.scheduled_transaction)}}},4396:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ScheduledTransactionSummaryToJSON=t.ScheduledTransactionSummaryFromJSONTyped=t.ScheduledTransactionSummaryFromJSON=t.instanceOfScheduledTransactionSummary=t.ScheduledTransactionSummaryFrequencyEnum=void 0;const a=n(6999);function o(e,t){return null==e?e:{id:e.id,date_first:e.date_first,date_next:e.date_next,frequency:e.frequency,amount:e.amount,memo:null==e.memo?void 0:e.memo,flag_color:null==e.flag_color?void 0:(0,a.TransactionFlagColorFromJSON)(e.flag_color),flag_name:null==e.flag_name?void 0:e.flag_name,account_id:e.account_id,payee_id:null==e.payee_id?void 0:e.payee_id,category_id:null==e.category_id?void 0:e.category_id,transfer_account_id:null==e.transfer_account_id?void 0:e.transfer_account_id,deleted:e.deleted}}t.ScheduledTransactionSummaryFrequencyEnum={Never:"never",Daily:"daily",Weekly:"weekly",EveryOtherWeek:"everyOtherWeek",TwiceAMonth:"twiceAMonth",Every4Weeks:"every4Weeks",Monthly:"monthly",EveryOtherMonth:"everyOtherMonth",Every3Months:"every3Months",Every4Months:"every4Months",TwiceAYear:"twiceAYear",Yearly:"yearly",EveryOtherYear:"everyOtherYear"},t.instanceOfScheduledTransactionSummary=function(e){return"id"in e&&void 0!==e.id&&"date_first"in e&&void 0!==e.date_first&&"date_next"in e&&void 0!==e.date_next&&"frequency"in e&&void 0!==e.frequency&&"amount"in e&&void 0!==e.amount&&"account_id"in e&&void 0!==e.account_id&&"deleted"in e&&void 0!==e.deleted},t.ScheduledTransactionSummaryFromJSON=function(e){return o(e)},t.ScheduledTransactionSummaryFromJSONTyped=o,t.ScheduledTransactionSummaryToJSON=function(e){return null==e?e:{id:e.id,date_first:e.date_first,date_next:e.date_next,frequency:e.frequency,amount:e.amount,memo:e.memo,flag_color:(0,a.TransactionFlagColorToJSON)(e.flag_color),flag_name:e.flag_name,account_id:e.account_id,payee_id:e.payee_id,category_id:e.category_id,transfer_account_id:e.transfer_account_id,deleted:e.deleted}}},2451:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ScheduledTransactionsResponseToJSON=t.ScheduledTransactionsResponseFromJSONTyped=t.ScheduledTransactionsResponseFromJSON=t.instanceOfScheduledTransactionsResponse=void 0;const a=n(3109);function o(e,t){return null==e?e:{data:(0,a.ScheduledTransactionsResponseDataFromJSON)(e.data)}}t.instanceOfScheduledTransactionsResponse=function(e){return"data"in e&&void 0!==e.data},t.ScheduledTransactionsResponseFromJSON=function(e){return o(e)},t.ScheduledTransactionsResponseFromJSONTyped=o,t.ScheduledTransactionsResponseToJSON=function(e){return null==e?e:{data:(0,a.ScheduledTransactionsResponseDataToJSON)(e.data)}}},3109:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ScheduledTransactionsResponseDataToJSON=t.ScheduledTransactionsResponseDataFromJSONTyped=t.ScheduledTransactionsResponseDataFromJSON=t.instanceOfScheduledTransactionsResponseData=void 0;const a=n(4795);function o(e,t){return null==e?e:{scheduled_transactions:e.scheduled_transactions.map(a.ScheduledTransactionDetailFromJSON),server_knowledge:e.server_knowledge}}t.instanceOfScheduledTransactionsResponseData=function(e){return"scheduled_transactions"in e&&void 0!==e.scheduled_transactions&&"server_knowledge"in e&&void 0!==e.server_knowledge},t.ScheduledTransactionsResponseDataFromJSON=function(e){return o(e)},t.ScheduledTransactionsResponseDataFromJSONTyped=o,t.ScheduledTransactionsResponseDataToJSON=function(e){return null==e?e:{scheduled_transactions:e.scheduled_transactions.map(a.ScheduledTransactionDetailToJSON),server_knowledge:e.server_knowledge}}},7521:(e,t)=>{"use strict";function n(e,t){return null==e?e:{id:e.id,transaction_id:e.transaction_id,amount:e.amount,memo:null==e.memo?void 0:e.memo,payee_id:null==e.payee_id?void 0:e.payee_id,payee_name:null==e.payee_name?void 0:e.payee_name,category_id:null==e.category_id?void 0:e.category_id,category_name:null==e.category_name?void 0:e.category_name,transfer_account_id:null==e.transfer_account_id?void 0:e.transfer_account_id,transfer_transaction_id:null==e.transfer_transaction_id?void 0:e.transfer_transaction_id,deleted:e.deleted}}Object.defineProperty(t,"__esModule",{value:!0}),t.SubTransactionToJSON=t.SubTransactionFromJSONTyped=t.SubTransactionFromJSON=t.instanceOfSubTransaction=void 0,t.instanceOfSubTransaction=function(e){return"id"in e&&void 0!==e.id&&"transaction_id"in e&&void 0!==e.transaction_id&&"amount"in e&&void 0!==e.amount&&"deleted"in e&&void 0!==e.deleted},t.SubTransactionFromJSON=function(e){return n(e)},t.SubTransactionFromJSONTyped=n,t.SubTransactionToJSON=function(e){return null==e?e:{id:e.id,transaction_id:e.transaction_id,amount:e.amount,memo:e.memo,payee_id:e.payee_id,payee_name:e.payee_name,category_id:e.category_id,category_name:e.category_name,transfer_account_id:e.transfer_account_id,transfer_transaction_id:e.transfer_transaction_id,deleted:e.deleted}}},4839:(e,t)=>{"use strict";function n(e,t){return e}Object.defineProperty(t,"__esModule",{value:!0}),t.TransactionClearedStatusToJSON=t.TransactionClearedStatusFromJSONTyped=t.TransactionClearedStatusFromJSON=t.instanceOfTransactionClearedStatus=t.TransactionClearedStatus=void 0,t.TransactionClearedStatus={Cleared:"cleared",Uncleared:"uncleared",Reconciled:"reconciled"},t.instanceOfTransactionClearedStatus=function(e){for(const n in t.TransactionClearedStatus)if(Object.prototype.hasOwnProperty.call(t.TransactionClearedStatus,n)&&t.TransactionClearedStatus[n]===e)return!0;return!1},t.TransactionClearedStatusFromJSON=function(e){return n(e)},t.TransactionClearedStatusFromJSONTyped=n,t.TransactionClearedStatusToJSON=function(e){return e}},8687:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TransactionDetailToJSON=t.TransactionDetailFromJSONTyped=t.TransactionDetailFromJSON=t.instanceOfTransactionDetail=t.TransactionDetailDebtTransactionTypeEnum=void 0;const a=n(6999),o=n(4839),r=n(7521);function i(e,t){return null==e?e:{id:e.id,date:e.date,amount:e.amount,memo:null==e.memo?void 0:e.memo,cleared:(0,o.TransactionClearedStatusFromJSON)(e.cleared),approved:e.approved,flag_color:null==e.flag_color?void 0:(0,a.TransactionFlagColorFromJSON)(e.flag_color),flag_name:null==e.flag_name?void 0:e.flag_name,account_id:e.account_id,payee_id:null==e.payee_id?void 0:e.payee_id,category_id:null==e.category_id?void 0:e.category_id,transfer_account_id:null==e.transfer_account_id?void 0:e.transfer_account_id,transfer_transaction_id:null==e.transfer_transaction_id?void 0:e.transfer_transaction_id,matched_transaction_id:null==e.matched_transaction_id?void 0:e.matched_transaction_id,import_id:null==e.import_id?void 0:e.import_id,import_payee_name:null==e.import_payee_name?void 0:e.import_payee_name,import_payee_name_original:null==e.import_payee_name_original?void 0:e.import_payee_name_original,debt_transaction_type:null==e.debt_transaction_type?void 0:e.debt_transaction_type,deleted:e.deleted,account_name:e.account_name,payee_name:null==e.payee_name?void 0:e.payee_name,category_name:null==e.category_name?void 0:e.category_name,subtransactions:e.subtransactions.map(r.SubTransactionFromJSON)}}t.TransactionDetailDebtTransactionTypeEnum={Payment:"payment",Refund:"refund",Fee:"fee",Interest:"interest",Escrow:"escrow",BalanceAdjustment:"balanceAdjustment",Credit:"credit",Charge:"charge"},t.instanceOfTransactionDetail=function(e){return"id"in e&&void 0!==e.id&&"date"in e&&void 0!==e.date&&"amount"in e&&void 0!==e.amount&&"cleared"in e&&void 0!==e.cleared&&"approved"in e&&void 0!==e.approved&&"account_id"in e&&void 0!==e.account_id&&"deleted"in e&&void 0!==e.deleted&&"account_name"in e&&void 0!==e.account_name&&"subtransactions"in e&&void 0!==e.subtransactions},t.TransactionDetailFromJSON=function(e){return i(e)},t.TransactionDetailFromJSONTyped=i,t.TransactionDetailToJSON=function(e){return null==e?e:{id:e.id,date:e.date,amount:e.amount,memo:e.memo,cleared:(0,o.TransactionClearedStatusToJSON)(e.cleared),approved:e.approved,flag_color:(0,a.TransactionFlagColorToJSON)(e.flag_color),flag_name:e.flag_name,account_id:e.account_id,payee_id:e.payee_id,category_id:e.category_id,transfer_account_id:e.transfer_account_id,transfer_transaction_id:e.transfer_transaction_id,matched_transaction_id:e.matched_transaction_id,import_id:e.import_id,import_payee_name:e.import_payee_name,import_payee_name_original:e.import_payee_name_original,debt_transaction_type:e.debt_transaction_type,deleted:e.deleted,account_name:e.account_name,payee_name:e.payee_name,category_name:e.category_name,subtransactions:e.subtransactions.map(r.SubTransactionToJSON)}}},6999:(e,t)=>{"use strict";function n(e,t){return e}Object.defineProperty(t,"__esModule",{value:!0}),t.TransactionFlagColorToJSON=t.TransactionFlagColorFromJSONTyped=t.TransactionFlagColorFromJSON=t.instanceOfTransactionFlagColor=t.TransactionFlagColor=void 0,t.TransactionFlagColor={Red:"red",Orange:"orange",Yellow:"yellow",Green:"green",Blue:"blue",Purple:"purple"},t.instanceOfTransactionFlagColor=function(e){for(const n in t.TransactionFlagColor)if(Object.prototype.hasOwnProperty.call(t.TransactionFlagColor,n)&&t.TransactionFlagColor[n]===e)return!0;return!1},t.TransactionFlagColorFromJSON=function(e){return n(e)},t.TransactionFlagColorFromJSONTyped=n,t.TransactionFlagColorToJSON=function(e){return e}},7992:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TransactionResponseToJSON=t.TransactionResponseFromJSONTyped=t.TransactionResponseFromJSON=t.instanceOfTransactionResponse=void 0;const a=n(1559);function o(e,t){return null==e?e:{data:(0,a.TransactionResponseDataFromJSON)(e.data)}}t.instanceOfTransactionResponse=function(e){return"data"in e&&void 0!==e.data},t.TransactionResponseFromJSON=function(e){return o(e)},t.TransactionResponseFromJSONTyped=o,t.TransactionResponseToJSON=function(e){return null==e?e:{data:(0,a.TransactionResponseDataToJSON)(e.data)}}},1559:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TransactionResponseDataToJSON=t.TransactionResponseDataFromJSONTyped=t.TransactionResponseDataFromJSON=t.instanceOfTransactionResponseData=void 0;const a=n(8687);function o(e,t){return null==e?e:{transaction:(0,a.TransactionDetailFromJSON)(e.transaction)}}t.instanceOfTransactionResponseData=function(e){return"transaction"in e&&void 0!==e.transaction},t.TransactionResponseDataFromJSON=function(e){return o(e)},t.TransactionResponseDataFromJSONTyped=o,t.TransactionResponseDataToJSON=function(e){return null==e?e:{transaction:(0,a.TransactionDetailToJSON)(e.transaction)}}},6661:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TransactionSummaryToJSON=t.TransactionSummaryFromJSONTyped=t.TransactionSummaryFromJSON=t.instanceOfTransactionSummary=t.TransactionSummaryDebtTransactionTypeEnum=void 0;const a=n(6999),o=n(4839);function r(e,t){return null==e?e:{id:e.id,date:e.date,amount:e.amount,memo:null==e.memo?void 0:e.memo,cleared:(0,o.TransactionClearedStatusFromJSON)(e.cleared),approved:e.approved,flag_color:null==e.flag_color?void 0:(0,a.TransactionFlagColorFromJSON)(e.flag_color),flag_name:null==e.flag_name?void 0:e.flag_name,account_id:e.account_id,payee_id:null==e.payee_id?void 0:e.payee_id,category_id:null==e.category_id?void 0:e.category_id,transfer_account_id:null==e.transfer_account_id?void 0:e.transfer_account_id,transfer_transaction_id:null==e.transfer_transaction_id?void 0:e.transfer_transaction_id,matched_transaction_id:null==e.matched_transaction_id?void 0:e.matched_transaction_id,import_id:null==e.import_id?void 0:e.import_id,import_payee_name:null==e.import_payee_name?void 0:e.import_payee_name,import_payee_name_original:null==e.import_payee_name_original?void 0:e.import_payee_name_original,debt_transaction_type:null==e.debt_transaction_type?void 0:e.debt_transaction_type,deleted:e.deleted}}t.TransactionSummaryDebtTransactionTypeEnum={Payment:"payment",Refund:"refund",Fee:"fee",Interest:"interest",Escrow:"escrow",BalanceAdjustment:"balanceAdjustment",Credit:"credit",Charge:"charge"},t.instanceOfTransactionSummary=function(e){return"id"in e&&void 0!==e.id&&"date"in e&&void 0!==e.date&&"amount"in e&&void 0!==e.amount&&"cleared"in e&&void 0!==e.cleared&&"approved"in e&&void 0!==e.approved&&"account_id"in e&&void 0!==e.account_id&&"deleted"in e&&void 0!==e.deleted},t.TransactionSummaryFromJSON=function(e){return r(e)},t.TransactionSummaryFromJSONTyped=r,t.TransactionSummaryToJSON=function(e){return null==e?e:{id:e.id,date:e.date,amount:e.amount,memo:e.memo,cleared:(0,o.TransactionClearedStatusToJSON)(e.cleared),approved:e.approved,flag_color:(0,a.TransactionFlagColorToJSON)(e.flag_color),flag_name:e.flag_name,account_id:e.account_id,payee_id:e.payee_id,category_id:e.category_id,transfer_account_id:e.transfer_account_id,transfer_transaction_id:e.transfer_transaction_id,matched_transaction_id:e.matched_transaction_id,import_id:e.import_id,import_payee_name:e.import_payee_name,import_payee_name_original:e.import_payee_name_original,debt_transaction_type:e.debt_transaction_type,deleted:e.deleted}}},2181:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TransactionsImportResponseToJSON=t.TransactionsImportResponseFromJSONTyped=t.TransactionsImportResponseFromJSON=t.instanceOfTransactionsImportResponse=void 0;const a=n(4691);function o(e,t){return null==e?e:{data:(0,a.TransactionsImportResponseDataFromJSON)(e.data)}}t.instanceOfTransactionsImportResponse=function(e){return"data"in e&&void 0!==e.data},t.TransactionsImportResponseFromJSON=function(e){return o(e)},t.TransactionsImportResponseFromJSONTyped=o,t.TransactionsImportResponseToJSON=function(e){return null==e?e:{data:(0,a.TransactionsImportResponseDataToJSON)(e.data)}}},4691:(e,t)=>{"use strict";function n(e,t){return null==e?e:{transaction_ids:e.transaction_ids}}Object.defineProperty(t,"__esModule",{value:!0}),t.TransactionsImportResponseDataToJSON=t.TransactionsImportResponseDataFromJSONTyped=t.TransactionsImportResponseDataFromJSON=t.instanceOfTransactionsImportResponseData=void 0,t.instanceOfTransactionsImportResponseData=function(e){return"transaction_ids"in e&&void 0!==e.transaction_ids},t.TransactionsImportResponseDataFromJSON=function(e){return n(e)},t.TransactionsImportResponseDataFromJSONTyped=n,t.TransactionsImportResponseDataToJSON=function(e){return null==e?e:{transaction_ids:e.transaction_ids}}},7530:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TransactionsResponseToJSON=t.TransactionsResponseFromJSONTyped=t.TransactionsResponseFromJSON=t.instanceOfTransactionsResponse=void 0;const a=n(7010);function o(e,t){return null==e?e:{data:(0,a.TransactionsResponseDataFromJSON)(e.data)}}t.instanceOfTransactionsResponse=function(e){return"data"in e&&void 0!==e.data},t.TransactionsResponseFromJSON=function(e){return o(e)},t.TransactionsResponseFromJSONTyped=o,t.TransactionsResponseToJSON=function(e){return null==e?e:{data:(0,a.TransactionsResponseDataToJSON)(e.data)}}},7010:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TransactionsResponseDataToJSON=t.TransactionsResponseDataFromJSONTyped=t.TransactionsResponseDataFromJSON=t.instanceOfTransactionsResponseData=void 0;const a=n(8687);function o(e,t){return null==e?e:{transactions:e.transactions.map(a.TransactionDetailFromJSON),server_knowledge:e.server_knowledge}}t.instanceOfTransactionsResponseData=function(e){return"transactions"in e&&void 0!==e.transactions&&"server_knowledge"in e&&void 0!==e.server_knowledge},t.TransactionsResponseDataFromJSON=function(e){return o(e)},t.TransactionsResponseDataFromJSONTyped=o,t.TransactionsResponseDataToJSON=function(e){return null==e?e:{transactions:e.transactions.map(a.TransactionDetailToJSON),server_knowledge:e.server_knowledge}}},6381:(e,t)=>{"use strict";function n(e,t){return null==e?e:{id:e.id}}Object.defineProperty(t,"__esModule",{value:!0}),t.UserToJSON=t.UserFromJSONTyped=t.UserFromJSON=t.instanceOfUser=void 0,t.instanceOfUser=function(e){return"id"in e&&void 0!==e.id},t.UserFromJSON=function(e){return n(e)},t.UserFromJSONTyped=n,t.UserToJSON=function(e){return null==e?e:{id:e.id}}},2254:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UserResponseToJSON=t.UserResponseFromJSONTyped=t.UserResponseFromJSON=t.instanceOfUserResponse=void 0;const a=n(8045);function o(e,t){return null==e?e:{data:(0,a.UserResponseDataFromJSON)(e.data)}}t.instanceOfUserResponse=function(e){return"data"in e&&void 0!==e.data},t.UserResponseFromJSON=function(e){return o(e)},t.UserResponseFromJSONTyped=o,t.UserResponseToJSON=function(e){return null==e?e:{data:(0,a.UserResponseDataToJSON)(e.data)}}},8045:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UserResponseDataToJSON=t.UserResponseDataFromJSONTyped=t.UserResponseDataFromJSON=t.instanceOfUserResponseData=void 0;const a=n(6381);function o(e,t){return null==e?e:{user:(0,a.UserFromJSON)(e.user)}}t.instanceOfUserResponseData=function(e){return"user"in e&&void 0!==e.user},t.UserResponseDataFromJSON=function(e){return o(e)},t.UserResponseDataFromJSONTyped=o,t.UserResponseDataToJSON=function(e){return null==e?e:{user:(0,a.UserToJSON)(e.user)}}},7115:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,a,o)}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||a(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(8374),t),o(n(8121),t),o(n(3940),t),o(n(809),t),o(n(5102),t),o(n(8351),t),o(n(9522),t),o(n(7371),t),o(n(5499),t),o(n(2656),t),o(n(5048),t),o(n(1994),t),o(n(6052),t),o(n(8071),t),o(n(8130),t),o(n(1462),t),o(n(8270),t),o(n(9235),t),o(n(4618),t),o(n(7464),t),o(n(5021),t),o(n(7781),t),o(n(9988),t),o(n(5769),t),o(n(2466),t),o(n(823),t),o(n(5170),t),o(n(7890),t),o(n(3084),t),o(n(1737),t),o(n(5195),t),o(n(4628),t),o(n(6603),t),o(n(6269),t),o(n(7069),t),o(n(4972),t),o(n(6420),t),o(n(7059),t),o(n(5484),t),o(n(3842),t),o(n(6024),t),o(n(4077),t),o(n(3497),t),o(n(3877),t),o(n(3801),t),o(n(3572),t),o(n(1893),t),o(n(6250),t),o(n(4076),t),o(n(1553),t),o(n(7453),t),o(n(8281),t),o(n(9659),t),o(n(9395),t),o(n(5144),t),o(n(3306),t),o(n(7475),t),o(n(9429),t),o(n(4032),t),o(n(8463),t),o(n(6702),t),o(n(8546),t),o(n(6798),t),o(n(238),t),o(n(6039),t),o(n(3738),t),o(n(1467),t),o(n(3006),t),o(n(9503),t),o(n(82),t),o(n(1962),t),o(n(4350),t),o(n(8204),t),o(n(5695),t),o(n(4795),t),o(n(5581),t),o(n(166),t),o(n(3686),t),o(n(4396),t),o(n(2451),t),o(n(3109),t),o(n(7521),t),o(n(4839),t),o(n(8687),t),o(n(6999),t),o(n(7992),t),o(n(1559),t),o(n(6661),t),o(n(2181),t),o(n(4691),t),o(n(7530),t),o(n(7010),t),o(n(6381),t),o(n(2254),t),o(n(8045),t)},5948:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TextApiResponse=t.BlobApiResponse=t.VoidApiResponse=t.JSONApiResponse=t.canConsumeForm=t.mapValues=t.querystring=t.exists=t.COLLECTION_FORMATS=t.RequiredError=t.FetchError=t.ResponseError=t.BaseAPI=t.DefaultConfig=t.Configuration=t.BASE_PATH=void 0;const a=n(7559)();globalThis.fetch||(globalThis.fetch=a.fetch,globalThis.Response=a.Response,globalThis.Headers=a.Headers,globalThis.Request=a.Request),t.BASE_PATH="https://api.ynab.com/v1".replace(/\/+$/,"");class o{constructor(e={}){this.configuration=e}set config(e){this.configuration=e}get basePath(){return null!=this.configuration.basePath?this.configuration.basePath:t.BASE_PATH}get fetchApi(){return this.configuration.fetchApi}get middleware(){return this.configuration.middleware||[]}get queryParamsStringify(){return this.configuration.queryParamsStringify||c}get username(){return this.configuration.username}get password(){return this.configuration.password}get apiKey(){const e=this.configuration.apiKey;if(e)return"function"==typeof e?e:()=>e}get accessToken(){const e=this.configuration.accessToken;if(e)return"function"==typeof e?e:async()=>e}get headers(){return this.configuration.headers}get credentials(){return this.configuration.credentials}}t.Configuration=o,t.DefaultConfig=new o;class r{constructor(e=t.DefaultConfig){this.configuration=e,this.fetchApi=async(e,t)=>{let n,a={url:e,init:t};for(const e of this.middleware)e.pre&&(a=await e.pre({fetch:this.fetchApi,...a})||a);try{n=await(this.configuration.fetchApi||fetch)(a.url,a.init)}catch(e){for(const t of this.middleware)t.onError&&(n=await t.onError({fetch:this.fetchApi,url:a.url,init:a.init,error:e,response:n?n.clone():void 0})||n);if(void 0===n)throw e instanceof Error?new s(e,"The request failed and the interceptors did not return an alternative response"):e}for(const e of this.middleware)e.post&&(n=await e.post({fetch:this.fetchApi,url:a.url,init:a.init,response:n.clone()})||n);return n},this.middleware=e.middleware}withMiddleware(...e){const t=this.clone();return t.middleware=t.middleware.concat(...e),t}withPreMiddleware(...e){const t=e.map((e=>({pre:e})));return this.withMiddleware(...t)}withPostMiddleware(...e){const t=e.map((e=>({post:e})));return this.withMiddleware(...t)}isJsonMime(e){return!!e&&r.jsonRegex.test(e)}async request(e,t){const{url:n,init:a}=await this.createFetchParams(e,t),o=await this.fetchApi(n,a);if(o&&o.status>=200&&o.status<300)return o;throw await o.json()}async createFetchParams(e,t){let n=this.configuration.basePath+e.path;void 0!==e.query&&0!==Object.keys(e.query).length&&(n+="?"+this.configuration.queryParamsStringify(e.query));const a=Object.assign({},this.configuration.headers,e.headers);Object.keys(a).forEach((e=>void 0===a[e]?delete a[e]:{}));const o="function"==typeof t?t:async()=>t,r={method:e.method,headers:a,body:e.body,credentials:this.configuration.credentials},i={...r,...await o({init:r,context:e})};let s;var d;return d=i.body,s="undefined"!=typeof FormData&&d instanceof FormData||i.body instanceof URLSearchParams||function(e){return"undefined"!=typeof Blob&&e instanceof Blob}(i.body)?i.body:this.isJsonMime(a["Content-Type"])?JSON.stringify(i.body):i.body,{url:n,init:{...i,body:s}}}clone(){const e=new(0,this.constructor)(this.configuration);return e.middleware=this.middleware.slice(),e}}t.BaseAPI=r,r.jsonRegex=new RegExp("^(:?application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(:?;.*)?$","i");class i extends Error{constructor(e,t){super(t),this.response=e,this.name="ResponseError"}}t.ResponseError=i;class s extends Error{constructor(e,t){super(t),this.cause=e,this.name="FetchError"}}t.FetchError=s;class d extends Error{constructor(e,t){super(t),this.field=e,this.name="RequiredError"}}function c(e,t=""){return Object.keys(e).map((n=>u(n,e[n],t))).filter((e=>e.length>0)).join("&")}function u(e,t,n=""){const a=n+(n.length?`[${e}]`:e);if(t instanceof Array){const e=t.map((e=>encodeURIComponent(String(e)))).join(`&${encodeURIComponent(a)}=`);return`${encodeURIComponent(a)}=${e}`}return t instanceof Set?u(e,Array.from(t),n):t instanceof Date?`${encodeURIComponent(a)}=${encodeURIComponent(t.toISOString())}`:t instanceof Object?c(t,a):`${encodeURIComponent(a)}=${encodeURIComponent(String(t))}`}t.RequiredError=d,t.COLLECTION_FORMATS={csv:",",ssv:" ",tsv:"\t",pipes:"|"},t.exists=function(e,t){return null!=e[t]},t.querystring=c,t.mapValues=function(e,t){return Object.keys(e).reduce(((n,a)=>({...n,[a]:t(e[a])})),{})},t.canConsumeForm=function(e){for(const t of e)if("multipart/form-data"===t.contentType)return!0;return!1},t.JSONApiResponse=class{constructor(e,t=(e=>e)){this.raw=e,this.transformer=t}async value(){return this.transformer(await this.raw.json())}},t.VoidApiResponse=class{constructor(e){this.raw=e}async value(){}},t.BlobApiResponse=class{constructor(e){this.raw=e}async value(){return await this.raw.blob()}},t.TextApiResponse=class{constructor(e){this.raw=e}async value(){return await this.raw.text()}}},679:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={getCurrentMonthInISOFormat(){return`${this.getCurrentDateInISOFormat().substr(0,7)}-01`},getCurrentDateInISOFormat(){let e=new Date;return new Date(e.getTime()-6e4*e.getTimezoneOffset()).toISOString()},convertFromISODateString:e=>new Date(new Date(e)),convertMilliUnitsToCurrencyAmount(e,t=2){let n=Math.pow(10,3-Math.min(3,t));n=1/n;let a=Math.round(e*n)/n*(.1/Math.pow(10,2));return Number(a.toFixed(t))}}}},t={};function n(a){var o=t[a];if(void 0!==o)return o.exports;var r=t[a]={exports:{}};return e[a].call(r.exports,r,r.exports,n),r.exports}n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}();var a=n(3465);ynab=a})(); \ No newline at end of file +var ynab;(()=>{var e={7559:function(e,t,n){var a;!function(o){"use strict";function r(e){var n=e&&e.Promise||o.Promise,a=e&&e.XMLHttpRequest||o.XMLHttpRequest;return function(){var e=Object.create(o,{fetch:{value:void 0,writable:!0}});return function(t){var o=void 0!==e&&e||"undefined"!=typeof self&&self||void 0!==o&&o,r="URLSearchParams"in o,i="Symbol"in o&&"iterator"in Symbol,s="FileReader"in o&&"Blob"in o&&function(){try{return new Blob,!0}catch(e){return!1}}(),d="FormData"in o,c="ArrayBuffer"in o;if(c)var u=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(e){return e&&u.indexOf(Object.prototype.toString.call(e))>-1};function p(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function m(e){return"string"!=typeof e&&(e=String(e)),e}function y(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return i&&(t[Symbol.iterator]=function(){return t}),t}function _(e){this.map={},e instanceof _?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function g(e){if(e.bodyUsed)return n.reject(new TypeError("Already read"));e.bodyUsed=!0}function f(e){return new n((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function h(e){var t=new FileReader,n=f(t);return t.readAsArrayBuffer(e),n}function S(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function O(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:s&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:d&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:r&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():c&&s&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=S(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):c&&(ArrayBuffer.prototype.isPrototypeOf(e)||l(e))?this._bodyArrayBuffer=S(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):r&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},s&&(this.blob=function(){var e=g(this);if(e)return e;if(this._bodyBlob)return n.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return n.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return n.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?g(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?n.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):n.resolve(this._bodyArrayBuffer)):this.blob().then(h)}),this.text=function(){var e,t,a,o=g(this);if(o)return o;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,a=f(t),t.readAsText(e),a;if(this._bodyArrayBuffer)return n.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),a=0;a-1?a:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(o),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var r=/([?&])_=[^&]*/;if(r.test(this.url))this.url=this.url.replace(r,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function b(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),a=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(a),decodeURIComponent(o))}})),t}function N(e,t){if(!(this instanceof N))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"",this.headers=new _(t.headers),this.url=t.url||"",this._initBody(e)}T.prototype.clone=function(){return new T(this,{body:this._bodyInit})},O.call(T.prototype),O.call(N.prototype),N.prototype.clone=function(){return new N(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new _(this.headers),url:this.url})},N.error=function(){var e=new N(null,{status:0,statusText:""});return e.type="error",e};var J=[301,302,303,307,308];N.redirect=function(e,t){if(-1===J.indexOf(t))throw new RangeError("Invalid status code");return new N(null,{status:t,headers:{location:e}})},t.DOMException=o.DOMException;try{new t.DOMException}catch(e){t.DOMException=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function R(e,r){return new n((function(n,i){var d=new T(e,r);if(d.signal&&d.signal.aborted)return i(new t.DOMException("Aborted","AbortError"));var u=new a;function l(){u.abort()}u.onload=function(){var e,t,a={status:u.status,statusText:u.statusText,headers:(e=u.getAllResponseHeaders()||"",t=new _,e.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var n=e.split(":"),a=n.shift().trim();if(a){var o=n.join(":").trim();t.append(a,o)}})),t)};a.url="responseURL"in u?u.responseURL:a.headers.get("X-Request-URL");var o="response"in u?u.response:u.responseText;setTimeout((function(){n(new N(o,a))}),0)},u.onerror=function(){setTimeout((function(){i(new TypeError("Network request failed"))}),0)},u.ontimeout=function(){setTimeout((function(){i(new TypeError("Network request failed"))}),0)},u.onabort=function(){setTimeout((function(){i(new t.DOMException("Aborted","AbortError"))}),0)},u.open(d.method,function(e){try{return""===e&&o.location.href?o.location.href:e}catch(t){return e}}(d.url),!0),"include"===d.credentials?u.withCredentials=!0:"omit"===d.credentials&&(u.withCredentials=!1),"responseType"in u&&(s?u.responseType="blob":c&&d.headers.get("Content-Type")&&-1!==d.headers.get("Content-Type").indexOf("application/octet-stream")&&(u.responseType="arraybuffer")),!r||"object"!=typeof r.headers||r.headers instanceof _?d.headers.forEach((function(e,t){u.setRequestHeader(t,e)})):Object.getOwnPropertyNames(r.headers).forEach((function(e){u.setRequestHeader(e,m(r.headers[e]))})),d.signal&&(d.signal.addEventListener("abort",l),u.onreadystatechange=function(){4===u.readyState&&d.signal.removeEventListener("abort",l)}),u.send(void 0===d._bodyInit?null:d._bodyInit)}))}R.polyfill=!0,o.fetch||(o.fetch=R,o.Headers=_,o.Request=T,o.Response=N),t.Headers=_,t.Request=T,t.Response=N,t.fetch=R,Object.defineProperty(t,"__esModule",{value:!0})}(t),{fetch:e.fetch,Headers:e.Headers,Request:e.Request,Response:e.Response,DOMException:e.DOMException}}()}void 0===(a=function(){return r}.call(t,n,t,e))||(e.exports=a)}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:void 0!==n.g?n.g:this)},3412:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,a,o)}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&a(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.AccountsApi=void 0;const i=r(n(5948)),s=n(7115);class d extends i.BaseAPI{async createAccountRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new i.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling createAccount.");if(null===e.data||void 0===e.data)throw new i.RequiredError("data","Required parameter requestParameters.data was null or undefined when calling createAccount.");const n={Accept:"application/json","Content-Type":"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(n.Authorization=`Bearer ${t}`)}const a=await this.request({path:"/budgets/{budget_id}/accounts".replace("{budget_id}",encodeURIComponent(String(e.budgetId))),method:"POST",headers:n,query:{},body:(0,s.PostAccountWrapperToJSON)(e.data)},t);return new i.JSONApiResponse(a,(e=>(0,s.AccountResponseFromJSON)(e)))}async createAccount(e,t,n){const a=await this.createAccountRaw({budgetId:e,data:t},n);return await a.value()}async getAccountByIdRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new i.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling getAccountById.");if(null===e.accountId||void 0===e.accountId)throw new i.RequiredError("accountId","Required parameter requestParameters.accountId was null or undefined when calling getAccountById.");const n={Accept:"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(n.Authorization=`Bearer ${t}`)}const a=await this.request({path:"/budgets/{budget_id}/accounts/{account_id}".replace("{budget_id}",encodeURIComponent(String(e.budgetId))).replace("{account_id}",encodeURIComponent(String(e.accountId))),method:"GET",headers:n,query:{}},t);return new i.JSONApiResponse(a,(e=>(0,s.AccountResponseFromJSON)(e)))}async getAccountById(e,t,n){const a=await this.getAccountByIdRaw({budgetId:e,accountId:t},n);return await a.value()}async getAccountsRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new i.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling getAccounts.");const n={};void 0!==e.lastKnowledgeOfServer&&(n.last_knowledge_of_server=e.lastKnowledgeOfServer);const a={Accept:"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(a.Authorization=`Bearer ${t}`)}const o=await this.request({path:"/budgets/{budget_id}/accounts".replace("{budget_id}",encodeURIComponent(String(e.budgetId))),method:"GET",headers:a,query:n},t);return new i.JSONApiResponse(o,(e=>(0,s.AccountsResponseFromJSON)(e)))}async getAccounts(e,t,n){const a=await this.getAccountsRaw({budgetId:e,lastKnowledgeOfServer:t},n);return await a.value()}}t.AccountsApi=d},8183:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,a,o)}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&a(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.BudgetsApi=void 0;const i=r(n(5948)),s=n(7115);class d extends i.BaseAPI{async getBudgetByIdRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new i.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling getBudgetById.");const n={};void 0!==e.lastKnowledgeOfServer&&(n.last_knowledge_of_server=e.lastKnowledgeOfServer);const a={Accept:"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(a.Authorization=`Bearer ${t}`)}const o=await this.request({path:"/budgets/{budget_id}".replace("{budget_id}",encodeURIComponent(String(e.budgetId))),method:"GET",headers:a,query:n},t);return new i.JSONApiResponse(o,(e=>(0,s.BudgetDetailResponseFromJSON)(e)))}async getBudgetById(e,t,n){const a=await this.getBudgetByIdRaw({budgetId:e,lastKnowledgeOfServer:t},n);return await a.value()}async getBudgetSettingsByIdRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new i.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling getBudgetSettingsById.");const n={Accept:"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(n.Authorization=`Bearer ${t}`)}const a=await this.request({path:"/budgets/{budget_id}/settings".replace("{budget_id}",encodeURIComponent(String(e.budgetId))),method:"GET",headers:n,query:{}},t);return new i.JSONApiResponse(a,(e=>(0,s.BudgetSettingsResponseFromJSON)(e)))}async getBudgetSettingsById(e,t){const n=await this.getBudgetSettingsByIdRaw({budgetId:e},t);return await n.value()}async getBudgetsRaw(e,t){const n={};void 0!==e.includeAccounts&&(n.include_accounts=e.includeAccounts);const a={Accept:"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(a.Authorization=`Bearer ${t}`)}const o=await this.request({path:"/budgets",method:"GET",headers:a,query:n},t);return new i.JSONApiResponse(o,(e=>(0,s.BudgetSummaryResponseFromJSON)(e)))}async getBudgets(e,t){const n=await this.getBudgetsRaw({includeAccounts:e},t);return await n.value()}}t.BudgetsApi=d},7615:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,a,o)}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&a(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.CategoriesApi=void 0;const i=r(n(5948)),s=n(7115);class d extends i.BaseAPI{async getCategoriesRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new i.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling getCategories.");const n={};void 0!==e.lastKnowledgeOfServer&&(n.last_knowledge_of_server=e.lastKnowledgeOfServer);const a={Accept:"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(a.Authorization=`Bearer ${t}`)}const o=await this.request({path:"/budgets/{budget_id}/categories".replace("{budget_id}",encodeURIComponent(String(e.budgetId))),method:"GET",headers:a,query:n},t);return new i.JSONApiResponse(o,(e=>(0,s.CategoriesResponseFromJSON)(e)))}async getCategories(e,t,n){const a=await this.getCategoriesRaw({budgetId:e,lastKnowledgeOfServer:t},n);return await a.value()}async getCategoryByIdRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new i.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling getCategoryById.");if(null===e.categoryId||void 0===e.categoryId)throw new i.RequiredError("categoryId","Required parameter requestParameters.categoryId was null or undefined when calling getCategoryById.");const n={Accept:"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(n.Authorization=`Bearer ${t}`)}const a=await this.request({path:"/budgets/{budget_id}/categories/{category_id}".replace("{budget_id}",encodeURIComponent(String(e.budgetId))).replace("{category_id}",encodeURIComponent(String(e.categoryId))),method:"GET",headers:n,query:{}},t);return new i.JSONApiResponse(a,(e=>(0,s.CategoryResponseFromJSON)(e)))}async getCategoryById(e,t,n){const a=await this.getCategoryByIdRaw({budgetId:e,categoryId:t},n);return await a.value()}async getMonthCategoryByIdRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new i.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling getMonthCategoryById.");if(null===e.month||void 0===e.month)throw new i.RequiredError("month","Required parameter requestParameters.month was null or undefined when calling getMonthCategoryById.");if(null===e.categoryId||void 0===e.categoryId)throw new i.RequiredError("categoryId","Required parameter requestParameters.categoryId was null or undefined when calling getMonthCategoryById.");const n={Accept:"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(n.Authorization=`Bearer ${t}`)}const a=await this.request({path:"/budgets/{budget_id}/months/{month}/categories/{category_id}".replace("{budget_id}",encodeURIComponent(String(e.budgetId))).replace("{month}",encodeURIComponent(String(e.month))).replace("{category_id}",encodeURIComponent(String(e.categoryId))),method:"GET",headers:n,query:{}},t);return new i.JSONApiResponse(a,(e=>(0,s.CategoryResponseFromJSON)(e)))}async getMonthCategoryById(e,t,n,a){const o=await this.getMonthCategoryByIdRaw({budgetId:e,month:t,categoryId:n},a);return await o.value()}async updateCategoryRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new i.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling updateCategory.");if(null===e.categoryId||void 0===e.categoryId)throw new i.RequiredError("categoryId","Required parameter requestParameters.categoryId was null or undefined when calling updateCategory.");if(null===e.data||void 0===e.data)throw new i.RequiredError("data","Required parameter requestParameters.data was null or undefined when calling updateCategory.");const n={Accept:"application/json","Content-Type":"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(n.Authorization=`Bearer ${t}`)}const a=await this.request({path:"/budgets/{budget_id}/categories/{category_id}".replace("{budget_id}",encodeURIComponent(String(e.budgetId))).replace("{category_id}",encodeURIComponent(String(e.categoryId))),method:"PATCH",headers:n,query:{},body:(0,s.PatchCategoryWrapperToJSON)(e.data)},t);return new i.JSONApiResponse(a,(e=>(0,s.SaveCategoryResponseFromJSON)(e)))}async updateCategory(e,t,n,a){const o=await this.updateCategoryRaw({budgetId:e,categoryId:t,data:n},a);return await o.value()}async updateMonthCategoryRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new i.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling updateMonthCategory.");if(null===e.month||void 0===e.month)throw new i.RequiredError("month","Required parameter requestParameters.month was null or undefined when calling updateMonthCategory.");if(null===e.categoryId||void 0===e.categoryId)throw new i.RequiredError("categoryId","Required parameter requestParameters.categoryId was null or undefined when calling updateMonthCategory.");if(null===e.data||void 0===e.data)throw new i.RequiredError("data","Required parameter requestParameters.data was null or undefined when calling updateMonthCategory.");const n={Accept:"application/json","Content-Type":"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(n.Authorization=`Bearer ${t}`)}const a=await this.request({path:"/budgets/{budget_id}/months/{month}/categories/{category_id}".replace("{budget_id}",encodeURIComponent(String(e.budgetId))).replace("{month}",encodeURIComponent(String(e.month))).replace("{category_id}",encodeURIComponent(String(e.categoryId))),method:"PATCH",headers:n,query:{},body:(0,s.PatchMonthCategoryWrapperToJSON)(e.data)},t);return new i.JSONApiResponse(a,(e=>(0,s.SaveCategoryResponseFromJSON)(e)))}async updateMonthCategory(e,t,n,a,o){const r=await this.updateMonthCategoryRaw({budgetId:e,month:t,categoryId:n,data:a},o);return await r.value()}}t.CategoriesApi=d},7816:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CustomTransactionsApi=void 0;const a=n(5563);class o extends a.TransactionsApi{getTransactionsByType(e,t,n,a){return this.getTransactions(e,void 0,t,n,a)}createTransactions(e,t,n){return this.createTransaction(e,t,n)}}t.CustomTransactionsApi=o},7817:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,a,o)}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&a(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.MonthsApi=void 0;const i=r(n(5948)),s=n(7115);class d extends i.BaseAPI{async getBudgetMonthRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new i.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling getBudgetMonth.");if(null===e.month||void 0===e.month)throw new i.RequiredError("month","Required parameter requestParameters.month was null or undefined when calling getBudgetMonth.");const n={Accept:"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(n.Authorization=`Bearer ${t}`)}const a=await this.request({path:"/budgets/{budget_id}/months/{month}".replace("{budget_id}",encodeURIComponent(String(e.budgetId))).replace("{month}",encodeURIComponent(String(e.month))),method:"GET",headers:n,query:{}},t);return new i.JSONApiResponse(a,(e=>(0,s.MonthDetailResponseFromJSON)(e)))}async getBudgetMonth(e,t,n){const a=await this.getBudgetMonthRaw({budgetId:e,month:t},n);return await a.value()}async getBudgetMonthsRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new i.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling getBudgetMonths.");const n={};void 0!==e.lastKnowledgeOfServer&&(n.last_knowledge_of_server=e.lastKnowledgeOfServer);const a={Accept:"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(a.Authorization=`Bearer ${t}`)}const o=await this.request({path:"/budgets/{budget_id}/months".replace("{budget_id}",encodeURIComponent(String(e.budgetId))),method:"GET",headers:a,query:n},t);return new i.JSONApiResponse(o,(e=>(0,s.MonthSummariesResponseFromJSON)(e)))}async getBudgetMonths(e,t,n){const a=await this.getBudgetMonthsRaw({budgetId:e,lastKnowledgeOfServer:t},n);return await a.value()}}t.MonthsApi=d},9265:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,a,o)}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&a(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.PayeeLocationsApi=void 0;const i=r(n(5948)),s=n(7115);class d extends i.BaseAPI{async getPayeeLocationByIdRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new i.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling getPayeeLocationById.");if(null===e.payeeLocationId||void 0===e.payeeLocationId)throw new i.RequiredError("payeeLocationId","Required parameter requestParameters.payeeLocationId was null or undefined when calling getPayeeLocationById.");const n={Accept:"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(n.Authorization=`Bearer ${t}`)}const a=await this.request({path:"/budgets/{budget_id}/payee_locations/{payee_location_id}".replace("{budget_id}",encodeURIComponent(String(e.budgetId))).replace("{payee_location_id}",encodeURIComponent(String(e.payeeLocationId))),method:"GET",headers:n,query:{}},t);return new i.JSONApiResponse(a,(e=>(0,s.PayeeLocationResponseFromJSON)(e)))}async getPayeeLocationById(e,t,n){const a=await this.getPayeeLocationByIdRaw({budgetId:e,payeeLocationId:t},n);return await a.value()}async getPayeeLocationsRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new i.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling getPayeeLocations.");const n={Accept:"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(n.Authorization=`Bearer ${t}`)}const a=await this.request({path:"/budgets/{budget_id}/payee_locations".replace("{budget_id}",encodeURIComponent(String(e.budgetId))),method:"GET",headers:n,query:{}},t);return new i.JSONApiResponse(a,(e=>(0,s.PayeeLocationsResponseFromJSON)(e)))}async getPayeeLocations(e,t){const n=await this.getPayeeLocationsRaw({budgetId:e},t);return await n.value()}async getPayeeLocationsByPayeeRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new i.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling getPayeeLocationsByPayee.");if(null===e.payeeId||void 0===e.payeeId)throw new i.RequiredError("payeeId","Required parameter requestParameters.payeeId was null or undefined when calling getPayeeLocationsByPayee.");const n={Accept:"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(n.Authorization=`Bearer ${t}`)}const a=await this.request({path:"/budgets/{budget_id}/payees/{payee_id}/payee_locations".replace("{budget_id}",encodeURIComponent(String(e.budgetId))).replace("{payee_id}",encodeURIComponent(String(e.payeeId))),method:"GET",headers:n,query:{}},t);return new i.JSONApiResponse(a,(e=>(0,s.PayeeLocationsResponseFromJSON)(e)))}async getPayeeLocationsByPayee(e,t,n){const a=await this.getPayeeLocationsByPayeeRaw({budgetId:e,payeeId:t},n);return await a.value()}}t.PayeeLocationsApi=d},1123:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,a,o)}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&a(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.PayeesApi=void 0;const i=r(n(5948)),s=n(7115);class d extends i.BaseAPI{async getPayeeByIdRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new i.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling getPayeeById.");if(null===e.payeeId||void 0===e.payeeId)throw new i.RequiredError("payeeId","Required parameter requestParameters.payeeId was null or undefined when calling getPayeeById.");const n={Accept:"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(n.Authorization=`Bearer ${t}`)}const a=await this.request({path:"/budgets/{budget_id}/payees/{payee_id}".replace("{budget_id}",encodeURIComponent(String(e.budgetId))).replace("{payee_id}",encodeURIComponent(String(e.payeeId))),method:"GET",headers:n,query:{}},t);return new i.JSONApiResponse(a,(e=>(0,s.PayeeResponseFromJSON)(e)))}async getPayeeById(e,t,n){const a=await this.getPayeeByIdRaw({budgetId:e,payeeId:t},n);return await a.value()}async getPayeesRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new i.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling getPayees.");const n={};void 0!==e.lastKnowledgeOfServer&&(n.last_knowledge_of_server=e.lastKnowledgeOfServer);const a={Accept:"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(a.Authorization=`Bearer ${t}`)}const o=await this.request({path:"/budgets/{budget_id}/payees".replace("{budget_id}",encodeURIComponent(String(e.budgetId))),method:"GET",headers:a,query:n},t);return new i.JSONApiResponse(o,(e=>(0,s.PayeesResponseFromJSON)(e)))}async getPayees(e,t,n){const a=await this.getPayeesRaw({budgetId:e,lastKnowledgeOfServer:t},n);return await a.value()}async updatePayeeRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new i.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling updatePayee.");if(null===e.payeeId||void 0===e.payeeId)throw new i.RequiredError("payeeId","Required parameter requestParameters.payeeId was null or undefined when calling updatePayee.");if(null===e.data||void 0===e.data)throw new i.RequiredError("data","Required parameter requestParameters.data was null or undefined when calling updatePayee.");const n={Accept:"application/json","Content-Type":"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(n.Authorization=`Bearer ${t}`)}const a=await this.request({path:"/budgets/{budget_id}/payees/{payee_id}".replace("{budget_id}",encodeURIComponent(String(e.budgetId))).replace("{payee_id}",encodeURIComponent(String(e.payeeId))),method:"PATCH",headers:n,query:{},body:(0,s.PatchPayeeWrapperToJSON)(e.data)},t);return new i.JSONApiResponse(a,(e=>(0,s.SavePayeeResponseFromJSON)(e)))}async updatePayee(e,t,n,a){const o=await this.updatePayeeRaw({budgetId:e,payeeId:t,data:n},a);return await o.value()}}t.PayeesApi=d},3385:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,a,o)}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&a(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.ScheduledTransactionsApi=void 0;const i=r(n(5948)),s=n(7115);class d extends i.BaseAPI{async createScheduledTransactionRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new i.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling createScheduledTransaction.");if(null===e.data||void 0===e.data)throw new i.RequiredError("data","Required parameter requestParameters.data was null or undefined when calling createScheduledTransaction.");const n={Accept:"application/json","Content-Type":"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(n.Authorization=`Bearer ${t}`)}const a=await this.request({path:"/budgets/{budget_id}/scheduled_transactions".replace("{budget_id}",encodeURIComponent(String(e.budgetId))),method:"POST",headers:n,query:{},body:(0,s.PostScheduledTransactionWrapperToJSON)(e.data)},t);return new i.JSONApiResponse(a,(e=>(0,s.ScheduledTransactionResponseFromJSON)(e)))}async createScheduledTransaction(e,t,n){const a=await this.createScheduledTransactionRaw({budgetId:e,data:t},n);return await a.value()}async getScheduledTransactionByIdRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new i.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling getScheduledTransactionById.");if(null===e.scheduledTransactionId||void 0===e.scheduledTransactionId)throw new i.RequiredError("scheduledTransactionId","Required parameter requestParameters.scheduledTransactionId was null or undefined when calling getScheduledTransactionById.");const n={Accept:"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(n.Authorization=`Bearer ${t}`)}const a=await this.request({path:"/budgets/{budget_id}/scheduled_transactions/{scheduled_transaction_id}".replace("{budget_id}",encodeURIComponent(String(e.budgetId))).replace("{scheduled_transaction_id}",encodeURIComponent(String(e.scheduledTransactionId))),method:"GET",headers:n,query:{}},t);return new i.JSONApiResponse(a,(e=>(0,s.ScheduledTransactionResponseFromJSON)(e)))}async getScheduledTransactionById(e,t,n){const a=await this.getScheduledTransactionByIdRaw({budgetId:e,scheduledTransactionId:t},n);return await a.value()}async getScheduledTransactionsRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new i.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling getScheduledTransactions.");const n={};void 0!==e.lastKnowledgeOfServer&&(n.last_knowledge_of_server=e.lastKnowledgeOfServer);const a={Accept:"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(a.Authorization=`Bearer ${t}`)}const o=await this.request({path:"/budgets/{budget_id}/scheduled_transactions".replace("{budget_id}",encodeURIComponent(String(e.budgetId))),method:"GET",headers:a,query:n},t);return new i.JSONApiResponse(o,(e=>(0,s.ScheduledTransactionsResponseFromJSON)(e)))}async getScheduledTransactions(e,t,n){const a=await this.getScheduledTransactionsRaw({budgetId:e,lastKnowledgeOfServer:t},n);return await a.value()}}t.ScheduledTransactionsApi=d},5563:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,a,o)}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&a(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.GetTransactionsByPayeeTypeEnum=t.GetTransactionsByMonthTypeEnum=t.GetTransactionsByCategoryTypeEnum=t.GetTransactionsByAccountTypeEnum=t.GetTransactionsTypeEnum=t.TransactionsApi=void 0;const i=r(n(5948)),s=n(7115);class d extends i.BaseAPI{async createTransactionRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new i.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling createTransaction.");if(null===e.data||void 0===e.data)throw new i.RequiredError("data","Required parameter requestParameters.data was null or undefined when calling createTransaction.");const n={Accept:"application/json","Content-Type":"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(n.Authorization=`Bearer ${t}`)}const a=await this.request({path:"/budgets/{budget_id}/transactions".replace("{budget_id}",encodeURIComponent(String(e.budgetId))),method:"POST",headers:n,query:{},body:(0,s.PostTransactionsWrapperToJSON)(e.data)},t);return new i.JSONApiResponse(a,(e=>(0,s.SaveTransactionsResponseFromJSON)(e)))}async createTransaction(e,t,n){const a=await this.createTransactionRaw({budgetId:e,data:t},n);return await a.value()}async deleteTransactionRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new i.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling deleteTransaction.");if(null===e.transactionId||void 0===e.transactionId)throw new i.RequiredError("transactionId","Required parameter requestParameters.transactionId was null or undefined when calling deleteTransaction.");const n={Accept:"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(n.Authorization=`Bearer ${t}`)}const a=await this.request({path:"/budgets/{budget_id}/transactions/{transaction_id}".replace("{budget_id}",encodeURIComponent(String(e.budgetId))).replace("{transaction_id}",encodeURIComponent(String(e.transactionId))),method:"DELETE",headers:n,query:{}},t);return new i.JSONApiResponse(a,(e=>(0,s.TransactionResponseFromJSON)(e)))}async deleteTransaction(e,t,n){const a=await this.deleteTransactionRaw({budgetId:e,transactionId:t},n);return await a.value()}async getTransactionByIdRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new i.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling getTransactionById.");if(null===e.transactionId||void 0===e.transactionId)throw new i.RequiredError("transactionId","Required parameter requestParameters.transactionId was null or undefined when calling getTransactionById.");const n={Accept:"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(n.Authorization=`Bearer ${t}`)}const a=await this.request({path:"/budgets/{budget_id}/transactions/{transaction_id}".replace("{budget_id}",encodeURIComponent(String(e.budgetId))).replace("{transaction_id}",encodeURIComponent(String(e.transactionId))),method:"GET",headers:n,query:{}},t);return new i.JSONApiResponse(a,(e=>(0,s.TransactionResponseFromJSON)(e)))}async getTransactionById(e,t,n){const a=await this.getTransactionByIdRaw({budgetId:e,transactionId:t},n);return await a.value()}async getTransactionsRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new i.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling getTransactions.");const n={};void 0!==e.sinceDate&&(n.since_date=e.sinceDate),void 0!==e.type&&(n.type=e.type),void 0!==e.lastKnowledgeOfServer&&(n.last_knowledge_of_server=e.lastKnowledgeOfServer);const a={Accept:"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(a.Authorization=`Bearer ${t}`)}const o=await this.request({path:"/budgets/{budget_id}/transactions".replace("{budget_id}",encodeURIComponent(String(e.budgetId))),method:"GET",headers:a,query:n},t);return new i.JSONApiResponse(o,(e=>(0,s.TransactionsResponseFromJSON)(e)))}async getTransactions(e,t,n,a,o){const r=await this.getTransactionsRaw({budgetId:e,sinceDate:t,type:n,lastKnowledgeOfServer:a},o);return await r.value()}async getTransactionsByAccountRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new i.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling getTransactionsByAccount.");if(null===e.accountId||void 0===e.accountId)throw new i.RequiredError("accountId","Required parameter requestParameters.accountId was null or undefined when calling getTransactionsByAccount.");const n={};void 0!==e.sinceDate&&(n.since_date=e.sinceDate),void 0!==e.type&&(n.type=e.type),void 0!==e.lastKnowledgeOfServer&&(n.last_knowledge_of_server=e.lastKnowledgeOfServer);const a={Accept:"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(a.Authorization=`Bearer ${t}`)}const o=await this.request({path:"/budgets/{budget_id}/accounts/{account_id}/transactions".replace("{budget_id}",encodeURIComponent(String(e.budgetId))).replace("{account_id}",encodeURIComponent(String(e.accountId))),method:"GET",headers:a,query:n},t);return new i.JSONApiResponse(o,(e=>(0,s.TransactionsResponseFromJSON)(e)))}async getTransactionsByAccount(e,t,n,a,o,r){const i=await this.getTransactionsByAccountRaw({budgetId:e,accountId:t,sinceDate:n,type:a,lastKnowledgeOfServer:o},r);return await i.value()}async getTransactionsByCategoryRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new i.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling getTransactionsByCategory.");if(null===e.categoryId||void 0===e.categoryId)throw new i.RequiredError("categoryId","Required parameter requestParameters.categoryId was null or undefined when calling getTransactionsByCategory.");const n={};void 0!==e.sinceDate&&(n.since_date=e.sinceDate),void 0!==e.type&&(n.type=e.type),void 0!==e.lastKnowledgeOfServer&&(n.last_knowledge_of_server=e.lastKnowledgeOfServer);const a={Accept:"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(a.Authorization=`Bearer ${t}`)}const o=await this.request({path:"/budgets/{budget_id}/categories/{category_id}/transactions".replace("{budget_id}",encodeURIComponent(String(e.budgetId))).replace("{category_id}",encodeURIComponent(String(e.categoryId))),method:"GET",headers:a,query:n},t);return new i.JSONApiResponse(o,(e=>(0,s.HybridTransactionsResponseFromJSON)(e)))}async getTransactionsByCategory(e,t,n,a,o,r){const i=await this.getTransactionsByCategoryRaw({budgetId:e,categoryId:t,sinceDate:n,type:a,lastKnowledgeOfServer:o},r);return await i.value()}async getTransactionsByMonthRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new i.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling getTransactionsByMonth.");if(null===e.month||void 0===e.month)throw new i.RequiredError("month","Required parameter requestParameters.month was null or undefined when calling getTransactionsByMonth.");const n={};void 0!==e.sinceDate&&(n.since_date=e.sinceDate),void 0!==e.type&&(n.type=e.type),void 0!==e.lastKnowledgeOfServer&&(n.last_knowledge_of_server=e.lastKnowledgeOfServer);const a={Accept:"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(a.Authorization=`Bearer ${t}`)}const o=await this.request({path:"/budgets/{budget_id}/months/{month}/transactions".replace("{budget_id}",encodeURIComponent(String(e.budgetId))).replace("{month}",encodeURIComponent(String(e.month))),method:"GET",headers:a,query:n},t);return new i.JSONApiResponse(o,(e=>(0,s.HybridTransactionsResponseFromJSON)(e)))}async getTransactionsByMonth(e,t,n,a,o,r){const i=await this.getTransactionsByMonthRaw({budgetId:e,month:t,sinceDate:n,type:a,lastKnowledgeOfServer:o},r);return await i.value()}async getTransactionsByPayeeRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new i.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling getTransactionsByPayee.");if(null===e.payeeId||void 0===e.payeeId)throw new i.RequiredError("payeeId","Required parameter requestParameters.payeeId was null or undefined when calling getTransactionsByPayee.");const n={};void 0!==e.sinceDate&&(n.since_date=e.sinceDate),void 0!==e.type&&(n.type=e.type),void 0!==e.lastKnowledgeOfServer&&(n.last_knowledge_of_server=e.lastKnowledgeOfServer);const a={Accept:"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(a.Authorization=`Bearer ${t}`)}const o=await this.request({path:"/budgets/{budget_id}/payees/{payee_id}/transactions".replace("{budget_id}",encodeURIComponent(String(e.budgetId))).replace("{payee_id}",encodeURIComponent(String(e.payeeId))),method:"GET",headers:a,query:n},t);return new i.JSONApiResponse(o,(e=>(0,s.HybridTransactionsResponseFromJSON)(e)))}async getTransactionsByPayee(e,t,n,a,o,r){const i=await this.getTransactionsByPayeeRaw({budgetId:e,payeeId:t,sinceDate:n,type:a,lastKnowledgeOfServer:o},r);return await i.value()}async importTransactionsRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new i.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling importTransactions.");const n={Accept:"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(n.Authorization=`Bearer ${t}`)}const a=await this.request({path:"/budgets/{budget_id}/transactions/import".replace("{budget_id}",encodeURIComponent(String(e.budgetId))),method:"POST",headers:n,query:{}},t);return new i.JSONApiResponse(a,(e=>(0,s.TransactionsImportResponseFromJSON)(e)))}async importTransactions(e,t){const n=await this.importTransactionsRaw({budgetId:e},t);return await n.value()}async updateTransactionRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new i.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling updateTransaction.");if(null===e.transactionId||void 0===e.transactionId)throw new i.RequiredError("transactionId","Required parameter requestParameters.transactionId was null or undefined when calling updateTransaction.");if(null===e.data||void 0===e.data)throw new i.RequiredError("data","Required parameter requestParameters.data was null or undefined when calling updateTransaction.");const n={Accept:"application/json","Content-Type":"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(n.Authorization=`Bearer ${t}`)}const a=await this.request({path:"/budgets/{budget_id}/transactions/{transaction_id}".replace("{budget_id}",encodeURIComponent(String(e.budgetId))).replace("{transaction_id}",encodeURIComponent(String(e.transactionId))),method:"PUT",headers:n,query:{},body:(0,s.PutTransactionWrapperToJSON)(e.data)},t);return new i.JSONApiResponse(a,(e=>(0,s.TransactionResponseFromJSON)(e)))}async updateTransaction(e,t,n,a){const o=await this.updateTransactionRaw({budgetId:e,transactionId:t,data:n},a);return await o.value()}async updateTransactionsRaw(e,t){if(null===e.budgetId||void 0===e.budgetId)throw new i.RequiredError("budgetId","Required parameter requestParameters.budgetId was null or undefined when calling updateTransactions.");if(null===e.data||void 0===e.data)throw new i.RequiredError("data","Required parameter requestParameters.data was null or undefined when calling updateTransactions.");const n={Accept:"application/json","Content-Type":"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,t=await e("bearer",[]);t&&(n.Authorization=`Bearer ${t}`)}const a=await this.request({path:"/budgets/{budget_id}/transactions".replace("{budget_id}",encodeURIComponent(String(e.budgetId))),method:"PATCH",headers:n,query:{},body:(0,s.PatchTransactionsWrapperToJSON)(e.data)},t);return new i.JSONApiResponse(a,(e=>(0,s.SaveTransactionsResponseFromJSON)(e)))}async updateTransactions(e,t,n){const a=await this.updateTransactionsRaw({budgetId:e,data:t},n);return await a.value()}}t.TransactionsApi=d,t.GetTransactionsTypeEnum={Uncategorized:"uncategorized",Unapproved:"unapproved"},t.GetTransactionsByAccountTypeEnum={Uncategorized:"uncategorized",Unapproved:"unapproved"},t.GetTransactionsByCategoryTypeEnum={Uncategorized:"uncategorized",Unapproved:"unapproved"},t.GetTransactionsByMonthTypeEnum={Uncategorized:"uncategorized",Unapproved:"unapproved"},t.GetTransactionsByPayeeTypeEnum={Uncategorized:"uncategorized",Unapproved:"unapproved"}},5607:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,a,o)}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&a(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.UserApi=void 0;const i=r(n(5948)),s=n(7115);class d extends i.BaseAPI{async getUserRaw(e){const t={Accept:"application/json"};if(this.configuration&&this.configuration.accessToken){const e=this.configuration.accessToken,n=await e("bearer",[]);n&&(t.Authorization=`Bearer ${n}`)}const n=await this.request({path:"/user",method:"GET",headers:t,query:{}},e);return new i.JSONApiResponse(n,(e=>(0,s.UserResponseFromJSON)(e)))}async getUser(e){const t=await this.getUserRaw(e);return await t.value()}}t.UserApi=d},6873:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,a,o)}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||a(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(3412),t),o(n(8183),t),o(n(7615),t),o(n(7817),t),o(n(9265),t),o(n(1123),t),o(n(3385),t),o(n(5563),t),o(n(5607),t)},3465:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,a,o)}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&a(t,e,n);return o(t,e),t},i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||a(t,e,n)},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.api=t.utils=t.API=void 0;const d=r(n(6873)),c=n(7816),u=s(n(679));t.utils=u.default;const l=n(5948);i(n(5948),t),i(n(6873),t),i(n(7115),t);class p{constructor(e,t=l.BASE_PATH){this._configuration=new l.Configuration({accessToken:e,basePath:t})}get user(){return this._user||(this._user=new d.UserApi(this._configuration)),this._user}get budgets(){return this._budgets||(this._budgets=new d.BudgetsApi(this._configuration)),this._budgets}get accounts(){return this._accounts||(this._accounts=new d.AccountsApi(this._configuration)),this._accounts}get categories(){return this._categories||(this._categories=new d.CategoriesApi(this._configuration)),this._categories}get months(){return this._months||(this._months=new d.MonthsApi(this._configuration)),this._months}get payees(){return this._payees||(this._payees=new d.PayeesApi(this._configuration)),this._payees}get payeeLocations(){return this._payeeLocations||(this._payeeLocations=new d.PayeeLocationsApi(this._configuration)),this._payeeLocations}get transactions(){return this._transactions||(this._transactions=new c.CustomTransactionsApi(this._configuration)),this._transactions}get scheduledTransactions(){return this._scheduledTransactions||(this._scheduledTransactions=new d.ScheduledTransactionsApi(this._configuration)),this._scheduledTransactions}}t.api=p,t.API=p},8374:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AccountToJSON=t.AccountFromJSONTyped=t.AccountFromJSON=t.instanceOfAccount=void 0;const a=n(809);function o(e,t){return null==e?e:{id:e.id,name:e.name,type:(0,a.AccountTypeFromJSON)(e.type),on_budget:e.on_budget,closed:e.closed,note:null==e.note?void 0:e.note,balance:e.balance,cleared_balance:e.cleared_balance,uncleared_balance:e.uncleared_balance,transfer_payee_id:e.transfer_payee_id,direct_import_linked:null==e.direct_import_linked?void 0:e.direct_import_linked,direct_import_in_error:null==e.direct_import_in_error?void 0:e.direct_import_in_error,last_reconciled_at:null==e.last_reconciled_at?void 0:e.last_reconciled_at,debt_original_balance:null==e.debt_original_balance?void 0:e.debt_original_balance,debt_interest_rates:null==e.debt_interest_rates?void 0:e.debt_interest_rates,debt_minimum_payments:null==e.debt_minimum_payments?void 0:e.debt_minimum_payments,debt_escrow_amounts:null==e.debt_escrow_amounts?void 0:e.debt_escrow_amounts,deleted:e.deleted}}t.instanceOfAccount=function(e){return"id"in e&&void 0!==e.id&&"name"in e&&void 0!==e.name&&"type"in e&&void 0!==e.type&&"on_budget"in e&&void 0!==e.on_budget&&"closed"in e&&void 0!==e.closed&&"balance"in e&&void 0!==e.balance&&"cleared_balance"in e&&void 0!==e.cleared_balance&&"uncleared_balance"in e&&void 0!==e.uncleared_balance&&"transfer_payee_id"in e&&void 0!==e.transfer_payee_id&&"deleted"in e&&void 0!==e.deleted},t.AccountFromJSON=function(e){return o(e)},t.AccountFromJSONTyped=o,t.AccountToJSON=function(e){return null==e?e:{id:e.id,name:e.name,type:(0,a.AccountTypeToJSON)(e.type),on_budget:e.on_budget,closed:e.closed,note:e.note,balance:e.balance,cleared_balance:e.cleared_balance,uncleared_balance:e.uncleared_balance,transfer_payee_id:e.transfer_payee_id,direct_import_linked:e.direct_import_linked,direct_import_in_error:e.direct_import_in_error,last_reconciled_at:e.last_reconciled_at,debt_original_balance:e.debt_original_balance,debt_interest_rates:e.debt_interest_rates,debt_minimum_payments:e.debt_minimum_payments,debt_escrow_amounts:e.debt_escrow_amounts,deleted:e.deleted}}},8121:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AccountResponseToJSON=t.AccountResponseFromJSONTyped=t.AccountResponseFromJSON=t.instanceOfAccountResponse=void 0;const a=n(3940);function o(e,t){return null==e?e:{data:(0,a.AccountResponseDataFromJSON)(e.data)}}t.instanceOfAccountResponse=function(e){return"data"in e&&void 0!==e.data},t.AccountResponseFromJSON=function(e){return o(e)},t.AccountResponseFromJSONTyped=o,t.AccountResponseToJSON=function(e){return null==e?e:{data:(0,a.AccountResponseDataToJSON)(e.data)}}},3940:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AccountResponseDataToJSON=t.AccountResponseDataFromJSONTyped=t.AccountResponseDataFromJSON=t.instanceOfAccountResponseData=void 0;const a=n(8374);function o(e,t){return null==e?e:{account:(0,a.AccountFromJSON)(e.account)}}t.instanceOfAccountResponseData=function(e){return"account"in e&&void 0!==e.account},t.AccountResponseDataFromJSON=function(e){return o(e)},t.AccountResponseDataFromJSONTyped=o,t.AccountResponseDataToJSON=function(e){return null==e?e:{account:(0,a.AccountToJSON)(e.account)}}},809:(e,t)=>{"use strict";function n(e,t){return e}Object.defineProperty(t,"__esModule",{value:!0}),t.AccountTypeToJSON=t.AccountTypeFromJSONTyped=t.AccountTypeFromJSON=t.instanceOfAccountType=t.AccountType=void 0,t.AccountType={Checking:"checking",Savings:"savings",Cash:"cash",CreditCard:"creditCard",LineOfCredit:"lineOfCredit",OtherAsset:"otherAsset",OtherLiability:"otherLiability",Mortgage:"mortgage",AutoLoan:"autoLoan",StudentLoan:"studentLoan",PersonalLoan:"personalLoan",MedicalDebt:"medicalDebt",OtherDebt:"otherDebt"},t.instanceOfAccountType=function(e){for(const n in t.AccountType)if(Object.prototype.hasOwnProperty.call(t.AccountType,n)&&t.AccountType[n]===e)return!0;return!1},t.AccountTypeFromJSON=function(e){return n(e)},t.AccountTypeFromJSONTyped=n,t.AccountTypeToJSON=function(e){return e}},5102:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AccountsResponseToJSON=t.AccountsResponseFromJSONTyped=t.AccountsResponseFromJSON=t.instanceOfAccountsResponse=void 0;const a=n(8351);function o(e,t){return null==e?e:{data:(0,a.AccountsResponseDataFromJSON)(e.data)}}t.instanceOfAccountsResponse=function(e){return"data"in e&&void 0!==e.data},t.AccountsResponseFromJSON=function(e){return o(e)},t.AccountsResponseFromJSONTyped=o,t.AccountsResponseToJSON=function(e){return null==e?e:{data:(0,a.AccountsResponseDataToJSON)(e.data)}}},8351:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AccountsResponseDataToJSON=t.AccountsResponseDataFromJSONTyped=t.AccountsResponseDataFromJSON=t.instanceOfAccountsResponseData=void 0;const a=n(8374);function o(e,t){return null==e?e:{accounts:e.accounts.map(a.AccountFromJSON),server_knowledge:e.server_knowledge}}t.instanceOfAccountsResponseData=function(e){return"accounts"in e&&void 0!==e.accounts&&"server_knowledge"in e&&void 0!==e.server_knowledge},t.AccountsResponseDataFromJSON=function(e){return o(e)},t.AccountsResponseDataFromJSONTyped=o,t.AccountsResponseDataToJSON=function(e){return null==e?e:{accounts:e.accounts.map(a.AccountToJSON),server_knowledge:e.server_knowledge}}},9522:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BudgetDetailToJSON=t.BudgetDetailFromJSONTyped=t.BudgetDetailFromJSON=t.instanceOfBudgetDetail=void 0;const a=n(1893),o=n(8374),r=n(4396),i=n(7781),s=n(5170),d=n(7890),c=n(7521),u=n(7069),l=n(3572),p=n(5695),m=n(6661),y=n(9988);function _(e,t){return null==e?e:{id:e.id,name:e.name,last_modified_on:null==e.last_modified_on?void 0:e.last_modified_on,first_month:null==e.first_month?void 0:e.first_month,last_month:null==e.last_month?void 0:e.last_month,date_format:null==e.date_format?void 0:(0,d.DateFormatFromJSON)(e.date_format),currency_format:null==e.currency_format?void 0:(0,s.CurrencyFormatFromJSON)(e.currency_format),accounts:null==e.accounts?void 0:e.accounts.map(o.AccountFromJSON),payees:null==e.payees?void 0:e.payees.map(l.PayeeFromJSON),payee_locations:null==e.payee_locations?void 0:e.payee_locations.map(a.PayeeLocationFromJSON),category_groups:null==e.category_groups?void 0:e.category_groups.map(y.CategoryGroupFromJSON),categories:null==e.categories?void 0:e.categories.map(i.CategoryFromJSON),months:null==e.months?void 0:e.months.map(u.MonthDetailFromJSON),transactions:null==e.transactions?void 0:e.transactions.map(m.TransactionSummaryFromJSON),subtransactions:null==e.subtransactions?void 0:e.subtransactions.map(c.SubTransactionFromJSON),scheduled_transactions:null==e.scheduled_transactions?void 0:e.scheduled_transactions.map(r.ScheduledTransactionSummaryFromJSON),scheduled_subtransactions:null==e.scheduled_subtransactions?void 0:e.scheduled_subtransactions.map(p.ScheduledSubTransactionFromJSON)}}t.instanceOfBudgetDetail=function(e){return"id"in e&&void 0!==e.id&&"name"in e&&void 0!==e.name},t.BudgetDetailFromJSON=function(e){return _(e)},t.BudgetDetailFromJSONTyped=_,t.BudgetDetailToJSON=function(e){return null==e?e:{id:e.id,name:e.name,last_modified_on:e.last_modified_on,first_month:e.first_month,last_month:e.last_month,date_format:(0,d.DateFormatToJSON)(e.date_format),currency_format:(0,s.CurrencyFormatToJSON)(e.currency_format),accounts:null==e.accounts?void 0:e.accounts.map(o.AccountToJSON),payees:null==e.payees?void 0:e.payees.map(l.PayeeToJSON),payee_locations:null==e.payee_locations?void 0:e.payee_locations.map(a.PayeeLocationToJSON),category_groups:null==e.category_groups?void 0:e.category_groups.map(y.CategoryGroupToJSON),categories:null==e.categories?void 0:e.categories.map(i.CategoryToJSON),months:null==e.months?void 0:e.months.map(u.MonthDetailToJSON),transactions:null==e.transactions?void 0:e.transactions.map(m.TransactionSummaryToJSON),subtransactions:null==e.subtransactions?void 0:e.subtransactions.map(c.SubTransactionToJSON),scheduled_transactions:null==e.scheduled_transactions?void 0:e.scheduled_transactions.map(r.ScheduledTransactionSummaryToJSON),scheduled_subtransactions:null==e.scheduled_subtransactions?void 0:e.scheduled_subtransactions.map(p.ScheduledSubTransactionToJSON)}}},7371:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BudgetDetailResponseToJSON=t.BudgetDetailResponseFromJSONTyped=t.BudgetDetailResponseFromJSON=t.instanceOfBudgetDetailResponse=void 0;const a=n(5499);function o(e,t){return null==e?e:{data:(0,a.BudgetDetailResponseDataFromJSON)(e.data)}}t.instanceOfBudgetDetailResponse=function(e){return"data"in e&&void 0!==e.data},t.BudgetDetailResponseFromJSON=function(e){return o(e)},t.BudgetDetailResponseFromJSONTyped=o,t.BudgetDetailResponseToJSON=function(e){return null==e?e:{data:(0,a.BudgetDetailResponseDataToJSON)(e.data)}}},5499:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BudgetDetailResponseDataToJSON=t.BudgetDetailResponseDataFromJSONTyped=t.BudgetDetailResponseDataFromJSON=t.instanceOfBudgetDetailResponseData=void 0;const a=n(9522);function o(e,t){return null==e?e:{budget:(0,a.BudgetDetailFromJSON)(e.budget),server_knowledge:e.server_knowledge}}t.instanceOfBudgetDetailResponseData=function(e){return"budget"in e&&void 0!==e.budget&&"server_knowledge"in e&&void 0!==e.server_knowledge},t.BudgetDetailResponseDataFromJSON=function(e){return o(e)},t.BudgetDetailResponseDataFromJSONTyped=o,t.BudgetDetailResponseDataToJSON=function(e){return null==e?e:{budget:(0,a.BudgetDetailToJSON)(e.budget),server_knowledge:e.server_knowledge}}},2656:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BudgetSettingsToJSON=t.BudgetSettingsFromJSONTyped=t.BudgetSettingsFromJSON=t.instanceOfBudgetSettings=void 0;const a=n(5170),o=n(7890);function r(e,t){return null==e?e:{date_format:(0,o.DateFormatFromJSON)(e.date_format),currency_format:(0,a.CurrencyFormatFromJSON)(e.currency_format)}}t.instanceOfBudgetSettings=function(e){return"date_format"in e&&void 0!==e.date_format&&"currency_format"in e&&void 0!==e.currency_format},t.BudgetSettingsFromJSON=function(e){return r(e)},t.BudgetSettingsFromJSONTyped=r,t.BudgetSettingsToJSON=function(e){return null==e?e:{date_format:(0,o.DateFormatToJSON)(e.date_format),currency_format:(0,a.CurrencyFormatToJSON)(e.currency_format)}}},5048:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BudgetSettingsResponseToJSON=t.BudgetSettingsResponseFromJSONTyped=t.BudgetSettingsResponseFromJSON=t.instanceOfBudgetSettingsResponse=void 0;const a=n(1994);function o(e,t){return null==e?e:{data:(0,a.BudgetSettingsResponseDataFromJSON)(e.data)}}t.instanceOfBudgetSettingsResponse=function(e){return"data"in e&&void 0!==e.data},t.BudgetSettingsResponseFromJSON=function(e){return o(e)},t.BudgetSettingsResponseFromJSONTyped=o,t.BudgetSettingsResponseToJSON=function(e){return null==e?e:{data:(0,a.BudgetSettingsResponseDataToJSON)(e.data)}}},1994:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BudgetSettingsResponseDataToJSON=t.BudgetSettingsResponseDataFromJSONTyped=t.BudgetSettingsResponseDataFromJSON=t.instanceOfBudgetSettingsResponseData=void 0;const a=n(2656);function o(e,t){return null==e?e:{settings:(0,a.BudgetSettingsFromJSON)(e.settings)}}t.instanceOfBudgetSettingsResponseData=function(e){return"settings"in e&&void 0!==e.settings},t.BudgetSettingsResponseDataFromJSON=function(e){return o(e)},t.BudgetSettingsResponseDataFromJSONTyped=o,t.BudgetSettingsResponseDataToJSON=function(e){return null==e?e:{settings:(0,a.BudgetSettingsToJSON)(e.settings)}}},6052:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BudgetSummaryToJSON=t.BudgetSummaryFromJSONTyped=t.BudgetSummaryFromJSON=t.instanceOfBudgetSummary=void 0;const a=n(8374),o=n(5170),r=n(7890);function i(e,t){return null==e?e:{id:e.id,name:e.name,last_modified_on:null==e.last_modified_on?void 0:e.last_modified_on,first_month:null==e.first_month?void 0:e.first_month,last_month:null==e.last_month?void 0:e.last_month,date_format:null==e.date_format?void 0:(0,r.DateFormatFromJSON)(e.date_format),currency_format:null==e.currency_format?void 0:(0,o.CurrencyFormatFromJSON)(e.currency_format),accounts:null==e.accounts?void 0:e.accounts.map(a.AccountFromJSON)}}t.instanceOfBudgetSummary=function(e){return"id"in e&&void 0!==e.id&&"name"in e&&void 0!==e.name},t.BudgetSummaryFromJSON=function(e){return i(e)},t.BudgetSummaryFromJSONTyped=i,t.BudgetSummaryToJSON=function(e){return null==e?e:{id:e.id,name:e.name,last_modified_on:e.last_modified_on,first_month:e.first_month,last_month:e.last_month,date_format:(0,r.DateFormatToJSON)(e.date_format),currency_format:(0,o.CurrencyFormatToJSON)(e.currency_format),accounts:null==e.accounts?void 0:e.accounts.map(a.AccountToJSON)}}},8071:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BudgetSummaryResponseToJSON=t.BudgetSummaryResponseFromJSONTyped=t.BudgetSummaryResponseFromJSON=t.instanceOfBudgetSummaryResponse=void 0;const a=n(8130);function o(e,t){return null==e?e:{data:(0,a.BudgetSummaryResponseDataFromJSON)(e.data)}}t.instanceOfBudgetSummaryResponse=function(e){return"data"in e&&void 0!==e.data},t.BudgetSummaryResponseFromJSON=function(e){return o(e)},t.BudgetSummaryResponseFromJSONTyped=o,t.BudgetSummaryResponseToJSON=function(e){return null==e?e:{data:(0,a.BudgetSummaryResponseDataToJSON)(e.data)}}},8130:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BudgetSummaryResponseDataToJSON=t.BudgetSummaryResponseDataFromJSONTyped=t.BudgetSummaryResponseDataFromJSON=t.instanceOfBudgetSummaryResponseData=void 0;const a=n(6052);function o(e,t){return null==e?e:{budgets:e.budgets.map(a.BudgetSummaryFromJSON),default_budget:null==e.default_budget?void 0:(0,a.BudgetSummaryFromJSON)(e.default_budget)}}t.instanceOfBudgetSummaryResponseData=function(e){return"budgets"in e&&void 0!==e.budgets},t.BudgetSummaryResponseDataFromJSON=function(e){return o(e)},t.BudgetSummaryResponseDataFromJSONTyped=o,t.BudgetSummaryResponseDataToJSON=function(e){return null==e?e:{budgets:e.budgets.map(a.BudgetSummaryToJSON),default_budget:(0,a.BudgetSummaryToJSON)(e.default_budget)}}},1462:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BulkResponseToJSON=t.BulkResponseFromJSONTyped=t.BulkResponseFromJSON=t.instanceOfBulkResponse=void 0;const a=n(8270);function o(e,t){return null==e?e:{data:(0,a.BulkResponseDataFromJSON)(e.data)}}t.instanceOfBulkResponse=function(e){return"data"in e&&void 0!==e.data},t.BulkResponseFromJSON=function(e){return o(e)},t.BulkResponseFromJSONTyped=o,t.BulkResponseToJSON=function(e){return null==e?e:{data:(0,a.BulkResponseDataToJSON)(e.data)}}},8270:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BulkResponseDataToJSON=t.BulkResponseDataFromJSONTyped=t.BulkResponseDataFromJSON=t.instanceOfBulkResponseData=void 0;const a=n(9235);function o(e,t){return null==e?e:{bulk:(0,a.BulkResponseDataBulkFromJSON)(e.bulk)}}t.instanceOfBulkResponseData=function(e){return"bulk"in e&&void 0!==e.bulk},t.BulkResponseDataFromJSON=function(e){return o(e)},t.BulkResponseDataFromJSONTyped=o,t.BulkResponseDataToJSON=function(e){return null==e?e:{bulk:(0,a.BulkResponseDataBulkToJSON)(e.bulk)}}},9235:(e,t)=>{"use strict";function n(e,t){return null==e?e:{transaction_ids:e.transaction_ids,duplicate_import_ids:e.duplicate_import_ids}}Object.defineProperty(t,"__esModule",{value:!0}),t.BulkResponseDataBulkToJSON=t.BulkResponseDataBulkFromJSONTyped=t.BulkResponseDataBulkFromJSON=t.instanceOfBulkResponseDataBulk=void 0,t.instanceOfBulkResponseDataBulk=function(e){return"transaction_ids"in e&&void 0!==e.transaction_ids&&"duplicate_import_ids"in e&&void 0!==e.duplicate_import_ids},t.BulkResponseDataBulkFromJSON=function(e){return n(e)},t.BulkResponseDataBulkFromJSONTyped=n,t.BulkResponseDataBulkToJSON=function(e){return null==e?e:{transaction_ids:e.transaction_ids,duplicate_import_ids:e.duplicate_import_ids}}},4618:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BulkTransactionsToJSON=t.BulkTransactionsFromJSONTyped=t.BulkTransactionsFromJSON=t.instanceOfBulkTransactions=void 0;const a=n(1962);function o(e,t){return null==e?e:{transactions:e.transactions.map(a.SaveTransactionWithOptionalFieldsFromJSON)}}t.instanceOfBulkTransactions=function(e){return"transactions"in e&&void 0!==e.transactions},t.BulkTransactionsFromJSON=function(e){return o(e)},t.BulkTransactionsFromJSONTyped=o,t.BulkTransactionsToJSON=function(e){return null==e?e:{transactions:e.transactions.map(a.SaveTransactionWithOptionalFieldsToJSON)}}},7464:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CategoriesResponseToJSON=t.CategoriesResponseFromJSONTyped=t.CategoriesResponseFromJSON=t.instanceOfCategoriesResponse=void 0;const a=n(5021);function o(e,t){return null==e?e:{data:(0,a.CategoriesResponseDataFromJSON)(e.data)}}t.instanceOfCategoriesResponse=function(e){return"data"in e&&void 0!==e.data},t.CategoriesResponseFromJSON=function(e){return o(e)},t.CategoriesResponseFromJSONTyped=o,t.CategoriesResponseToJSON=function(e){return null==e?e:{data:(0,a.CategoriesResponseDataToJSON)(e.data)}}},5021:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CategoriesResponseDataToJSON=t.CategoriesResponseDataFromJSONTyped=t.CategoriesResponseDataFromJSON=t.instanceOfCategoriesResponseData=void 0;const a=n(5769);function o(e,t){return null==e?e:{category_groups:e.category_groups.map(a.CategoryGroupWithCategoriesFromJSON),server_knowledge:e.server_knowledge}}t.instanceOfCategoriesResponseData=function(e){return"category_groups"in e&&void 0!==e.category_groups&&"server_knowledge"in e&&void 0!==e.server_knowledge},t.CategoriesResponseDataFromJSON=function(e){return o(e)},t.CategoriesResponseDataFromJSONTyped=o,t.CategoriesResponseDataToJSON=function(e){return null==e?e:{category_groups:e.category_groups.map(a.CategoryGroupWithCategoriesToJSON),server_knowledge:e.server_knowledge}}},7781:(e,t)=>{"use strict";function n(e,t){return null==e?e:{id:e.id,category_group_id:e.category_group_id,category_group_name:null==e.category_group_name?void 0:e.category_group_name,name:e.name,hidden:e.hidden,original_category_group_id:null==e.original_category_group_id?void 0:e.original_category_group_id,note:null==e.note?void 0:e.note,budgeted:e.budgeted,activity:e.activity,balance:e.balance,goal_type:null==e.goal_type?void 0:e.goal_type,goal_needs_whole_amount:null==e.goal_needs_whole_amount?void 0:e.goal_needs_whole_amount,goal_day:null==e.goal_day?void 0:e.goal_day,goal_cadence:null==e.goal_cadence?void 0:e.goal_cadence,goal_cadence_frequency:null==e.goal_cadence_frequency?void 0:e.goal_cadence_frequency,goal_creation_month:null==e.goal_creation_month?void 0:e.goal_creation_month,goal_target:null==e.goal_target?void 0:e.goal_target,goal_target_month:null==e.goal_target_month?void 0:e.goal_target_month,goal_percentage_complete:null==e.goal_percentage_complete?void 0:e.goal_percentage_complete,goal_months_to_budget:null==e.goal_months_to_budget?void 0:e.goal_months_to_budget,goal_under_funded:null==e.goal_under_funded?void 0:e.goal_under_funded,goal_overall_funded:null==e.goal_overall_funded?void 0:e.goal_overall_funded,goal_overall_left:null==e.goal_overall_left?void 0:e.goal_overall_left,deleted:e.deleted}}Object.defineProperty(t,"__esModule",{value:!0}),t.CategoryToJSON=t.CategoryFromJSONTyped=t.CategoryFromJSON=t.instanceOfCategory=t.CategoryGoalTypeEnum=void 0,t.CategoryGoalTypeEnum={Tb:"TB",Tbd:"TBD",Mf:"MF",Need:"NEED",Debt:"DEBT"},t.instanceOfCategory=function(e){return"id"in e&&void 0!==e.id&&"category_group_id"in e&&void 0!==e.category_group_id&&"name"in e&&void 0!==e.name&&"hidden"in e&&void 0!==e.hidden&&"budgeted"in e&&void 0!==e.budgeted&&"activity"in e&&void 0!==e.activity&&"balance"in e&&void 0!==e.balance&&"deleted"in e&&void 0!==e.deleted},t.CategoryFromJSON=function(e){return n(e)},t.CategoryFromJSONTyped=n,t.CategoryToJSON=function(e){return null==e?e:{id:e.id,category_group_id:e.category_group_id,category_group_name:e.category_group_name,name:e.name,hidden:e.hidden,original_category_group_id:e.original_category_group_id,note:e.note,budgeted:e.budgeted,activity:e.activity,balance:e.balance,goal_type:e.goal_type,goal_needs_whole_amount:e.goal_needs_whole_amount,goal_day:e.goal_day,goal_cadence:e.goal_cadence,goal_cadence_frequency:e.goal_cadence_frequency,goal_creation_month:e.goal_creation_month,goal_target:e.goal_target,goal_target_month:e.goal_target_month,goal_percentage_complete:e.goal_percentage_complete,goal_months_to_budget:e.goal_months_to_budget,goal_under_funded:e.goal_under_funded,goal_overall_funded:e.goal_overall_funded,goal_overall_left:e.goal_overall_left,deleted:e.deleted}}},9988:(e,t)=>{"use strict";function n(e,t){return null==e?e:{id:e.id,name:e.name,hidden:e.hidden,deleted:e.deleted}}Object.defineProperty(t,"__esModule",{value:!0}),t.CategoryGroupToJSON=t.CategoryGroupFromJSONTyped=t.CategoryGroupFromJSON=t.instanceOfCategoryGroup=void 0,t.instanceOfCategoryGroup=function(e){return"id"in e&&void 0!==e.id&&"name"in e&&void 0!==e.name&&"hidden"in e&&void 0!==e.hidden&&"deleted"in e&&void 0!==e.deleted},t.CategoryGroupFromJSON=function(e){return n(e)},t.CategoryGroupFromJSONTyped=n,t.CategoryGroupToJSON=function(e){return null==e?e:{id:e.id,name:e.name,hidden:e.hidden,deleted:e.deleted}}},5769:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CategoryGroupWithCategoriesToJSON=t.CategoryGroupWithCategoriesFromJSONTyped=t.CategoryGroupWithCategoriesFromJSON=t.instanceOfCategoryGroupWithCategories=void 0;const a=n(7781);function o(e,t){return null==e?e:{id:e.id,name:e.name,hidden:e.hidden,deleted:e.deleted,categories:e.categories.map(a.CategoryFromJSON)}}t.instanceOfCategoryGroupWithCategories=function(e){return"id"in e&&void 0!==e.id&&"name"in e&&void 0!==e.name&&"hidden"in e&&void 0!==e.hidden&&"deleted"in e&&void 0!==e.deleted&&"categories"in e&&void 0!==e.categories},t.CategoryGroupWithCategoriesFromJSON=function(e){return o(e)},t.CategoryGroupWithCategoriesFromJSONTyped=o,t.CategoryGroupWithCategoriesToJSON=function(e){return null==e?e:{id:e.id,name:e.name,hidden:e.hidden,deleted:e.deleted,categories:e.categories.map(a.CategoryToJSON)}}},2466:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CategoryResponseToJSON=t.CategoryResponseFromJSONTyped=t.CategoryResponseFromJSON=t.instanceOfCategoryResponse=void 0;const a=n(823);function o(e,t){return null==e?e:{data:(0,a.CategoryResponseDataFromJSON)(e.data)}}t.instanceOfCategoryResponse=function(e){return"data"in e&&void 0!==e.data},t.CategoryResponseFromJSON=function(e){return o(e)},t.CategoryResponseFromJSONTyped=o,t.CategoryResponseToJSON=function(e){return null==e?e:{data:(0,a.CategoryResponseDataToJSON)(e.data)}}},823:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CategoryResponseDataToJSON=t.CategoryResponseDataFromJSONTyped=t.CategoryResponseDataFromJSON=t.instanceOfCategoryResponseData=void 0;const a=n(7781);function o(e,t){return null==e?e:{category:(0,a.CategoryFromJSON)(e.category)}}t.instanceOfCategoryResponseData=function(e){return"category"in e&&void 0!==e.category},t.CategoryResponseDataFromJSON=function(e){return o(e)},t.CategoryResponseDataFromJSONTyped=o,t.CategoryResponseDataToJSON=function(e){return null==e?e:{category:(0,a.CategoryToJSON)(e.category)}}},5170:(e,t)=>{"use strict";function n(e,t){return null==e?e:{iso_code:e.iso_code,example_format:e.example_format,decimal_digits:e.decimal_digits,decimal_separator:e.decimal_separator,symbol_first:e.symbol_first,group_separator:e.group_separator,currency_symbol:e.currency_symbol,display_symbol:e.display_symbol}}Object.defineProperty(t,"__esModule",{value:!0}),t.CurrencyFormatToJSON=t.CurrencyFormatFromJSONTyped=t.CurrencyFormatFromJSON=t.instanceOfCurrencyFormat=void 0,t.instanceOfCurrencyFormat=function(e){return"iso_code"in e&&void 0!==e.iso_code&&"example_format"in e&&void 0!==e.example_format&&"decimal_digits"in e&&void 0!==e.decimal_digits&&"decimal_separator"in e&&void 0!==e.decimal_separator&&"symbol_first"in e&&void 0!==e.symbol_first&&"group_separator"in e&&void 0!==e.group_separator&&"currency_symbol"in e&&void 0!==e.currency_symbol&&"display_symbol"in e&&void 0!==e.display_symbol},t.CurrencyFormatFromJSON=function(e){return n(e)},t.CurrencyFormatFromJSONTyped=n,t.CurrencyFormatToJSON=function(e){return null==e?e:{iso_code:e.iso_code,example_format:e.example_format,decimal_digits:e.decimal_digits,decimal_separator:e.decimal_separator,symbol_first:e.symbol_first,group_separator:e.group_separator,currency_symbol:e.currency_symbol,display_symbol:e.display_symbol}}},7890:(e,t)=>{"use strict";function n(e,t){return null==e?e:{format:e.format}}Object.defineProperty(t,"__esModule",{value:!0}),t.DateFormatToJSON=t.DateFormatFromJSONTyped=t.DateFormatFromJSON=t.instanceOfDateFormat=void 0,t.instanceOfDateFormat=function(e){return"format"in e&&void 0!==e.format},t.DateFormatFromJSON=function(e){return n(e)},t.DateFormatFromJSONTyped=n,t.DateFormatToJSON=function(e){return null==e?e:{format:e.format}}},3084:(e,t)=>{"use strict";function n(e,t){return null==e?e:{id:e.id,name:e.name,detail:e.detail}}Object.defineProperty(t,"__esModule",{value:!0}),t.ErrorDetailToJSON=t.ErrorDetailFromJSONTyped=t.ErrorDetailFromJSON=t.instanceOfErrorDetail=void 0,t.instanceOfErrorDetail=function(e){return"id"in e&&void 0!==e.id&&"name"in e&&void 0!==e.name&&"detail"in e&&void 0!==e.detail},t.ErrorDetailFromJSON=function(e){return n(e)},t.ErrorDetailFromJSONTyped=n,t.ErrorDetailToJSON=function(e){return null==e?e:{id:e.id,name:e.name,detail:e.detail}}},1737:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ErrorResponseToJSON=t.ErrorResponseFromJSONTyped=t.ErrorResponseFromJSON=t.instanceOfErrorResponse=void 0;const a=n(3084);function o(e,t){return null==e?e:{error:(0,a.ErrorDetailFromJSON)(e.error)}}t.instanceOfErrorResponse=function(e){return"error"in e&&void 0!==e.error},t.ErrorResponseFromJSON=function(e){return o(e)},t.ErrorResponseFromJSONTyped=o,t.ErrorResponseToJSON=function(e){return null==e?e:{error:(0,a.ErrorDetailToJSON)(e.error)}}},5195:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExistingTransactionToJSON=t.ExistingTransactionFromJSONTyped=t.ExistingTransactionFromJSON=t.instanceOfExistingTransaction=void 0;const a=n(6999),o=n(4839),r=n(9503);function i(e,t){return null==e?e:{account_id:null==e.account_id?void 0:e.account_id,date:null==e.date?void 0:e.date,amount:null==e.amount?void 0:e.amount,payee_id:null==e.payee_id?void 0:e.payee_id,payee_name:null==e.payee_name?void 0:e.payee_name,category_id:null==e.category_id?void 0:e.category_id,memo:null==e.memo?void 0:e.memo,cleared:null==e.cleared?void 0:(0,o.TransactionClearedStatusFromJSON)(e.cleared),approved:null==e.approved?void 0:e.approved,flag_color:null==e.flag_color?void 0:(0,a.TransactionFlagColorFromJSON)(e.flag_color),subtransactions:null==e.subtransactions?void 0:e.subtransactions.map(r.SaveSubTransactionFromJSON)}}t.instanceOfExistingTransaction=function(e){return!0},t.ExistingTransactionFromJSON=function(e){return i(e)},t.ExistingTransactionFromJSONTyped=i,t.ExistingTransactionToJSON=function(e){return null==e?e:{account_id:e.account_id,date:e.date,amount:e.amount,payee_id:e.payee_id,payee_name:e.payee_name,category_id:e.category_id,memo:e.memo,cleared:(0,o.TransactionClearedStatusToJSON)(e.cleared),approved:e.approved,flag_color:(0,a.TransactionFlagColorToJSON)(e.flag_color),subtransactions:null==e.subtransactions?void 0:e.subtransactions.map(r.SaveSubTransactionToJSON)}}},4628:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HybridTransactionToJSON=t.HybridTransactionFromJSONTyped=t.HybridTransactionFromJSON=t.instanceOfHybridTransaction=t.HybridTransactionTypeEnum=t.HybridTransactionDebtTransactionTypeEnum=void 0;const a=n(6999),o=n(4839);function r(e,t){return null==e?e:{id:e.id,date:e.date,amount:e.amount,memo:null==e.memo?void 0:e.memo,cleared:(0,o.TransactionClearedStatusFromJSON)(e.cleared),approved:e.approved,flag_color:null==e.flag_color?void 0:(0,a.TransactionFlagColorFromJSON)(e.flag_color),flag_name:null==e.flag_name?void 0:e.flag_name,account_id:e.account_id,payee_id:null==e.payee_id?void 0:e.payee_id,category_id:null==e.category_id?void 0:e.category_id,transfer_account_id:null==e.transfer_account_id?void 0:e.transfer_account_id,transfer_transaction_id:null==e.transfer_transaction_id?void 0:e.transfer_transaction_id,matched_transaction_id:null==e.matched_transaction_id?void 0:e.matched_transaction_id,import_id:null==e.import_id?void 0:e.import_id,import_payee_name:null==e.import_payee_name?void 0:e.import_payee_name,import_payee_name_original:null==e.import_payee_name_original?void 0:e.import_payee_name_original,debt_transaction_type:null==e.debt_transaction_type?void 0:e.debt_transaction_type,deleted:e.deleted,type:e.type,parent_transaction_id:null==e.parent_transaction_id?void 0:e.parent_transaction_id,account_name:e.account_name,payee_name:null==e.payee_name?void 0:e.payee_name,category_name:null==e.category_name?void 0:e.category_name}}t.HybridTransactionDebtTransactionTypeEnum={Payment:"payment",Refund:"refund",Fee:"fee",Interest:"interest",Escrow:"escrow",BalanceAdjustment:"balanceAdjustment",Credit:"credit",Charge:"charge"},t.HybridTransactionTypeEnum={Transaction:"transaction",Subtransaction:"subtransaction"},t.instanceOfHybridTransaction=function(e){return"id"in e&&void 0!==e.id&&"date"in e&&void 0!==e.date&&"amount"in e&&void 0!==e.amount&&"cleared"in e&&void 0!==e.cleared&&"approved"in e&&void 0!==e.approved&&"account_id"in e&&void 0!==e.account_id&&"deleted"in e&&void 0!==e.deleted&&"type"in e&&void 0!==e.type&&"account_name"in e&&void 0!==e.account_name},t.HybridTransactionFromJSON=function(e){return r(e)},t.HybridTransactionFromJSONTyped=r,t.HybridTransactionToJSON=function(e){return null==e?e:{id:e.id,date:e.date,amount:e.amount,memo:e.memo,cleared:(0,o.TransactionClearedStatusToJSON)(e.cleared),approved:e.approved,flag_color:(0,a.TransactionFlagColorToJSON)(e.flag_color),flag_name:e.flag_name,account_id:e.account_id,payee_id:e.payee_id,category_id:e.category_id,transfer_account_id:e.transfer_account_id,transfer_transaction_id:e.transfer_transaction_id,matched_transaction_id:e.matched_transaction_id,import_id:e.import_id,import_payee_name:e.import_payee_name,import_payee_name_original:e.import_payee_name_original,debt_transaction_type:e.debt_transaction_type,deleted:e.deleted,type:e.type,parent_transaction_id:e.parent_transaction_id,account_name:e.account_name,payee_name:e.payee_name,category_name:e.category_name}}},6603:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HybridTransactionsResponseToJSON=t.HybridTransactionsResponseFromJSONTyped=t.HybridTransactionsResponseFromJSON=t.instanceOfHybridTransactionsResponse=void 0;const a=n(6269);function o(e,t){return null==e?e:{data:(0,a.HybridTransactionsResponseDataFromJSON)(e.data)}}t.instanceOfHybridTransactionsResponse=function(e){return"data"in e&&void 0!==e.data},t.HybridTransactionsResponseFromJSON=function(e){return o(e)},t.HybridTransactionsResponseFromJSONTyped=o,t.HybridTransactionsResponseToJSON=function(e){return null==e?e:{data:(0,a.HybridTransactionsResponseDataToJSON)(e.data)}}},6269:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HybridTransactionsResponseDataToJSON=t.HybridTransactionsResponseDataFromJSONTyped=t.HybridTransactionsResponseDataFromJSON=t.instanceOfHybridTransactionsResponseData=void 0;const a=n(4628);function o(e,t){return null==e?e:{transactions:e.transactions.map(a.HybridTransactionFromJSON),server_knowledge:null==e.server_knowledge?void 0:e.server_knowledge}}t.instanceOfHybridTransactionsResponseData=function(e){return"transactions"in e&&void 0!==e.transactions},t.HybridTransactionsResponseDataFromJSON=function(e){return o(e)},t.HybridTransactionsResponseDataFromJSONTyped=o,t.HybridTransactionsResponseDataToJSON=function(e){return null==e?e:{transactions:e.transactions.map(a.HybridTransactionToJSON),server_knowledge:e.server_knowledge}}},7069:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MonthDetailToJSON=t.MonthDetailFromJSONTyped=t.MonthDetailFromJSON=t.instanceOfMonthDetail=void 0;const a=n(7781);function o(e,t){return null==e?e:{month:e.month,note:null==e.note?void 0:e.note,income:e.income,budgeted:e.budgeted,activity:e.activity,to_be_budgeted:e.to_be_budgeted,age_of_money:null==e.age_of_money?void 0:e.age_of_money,deleted:e.deleted,categories:e.categories.map(a.CategoryFromJSON)}}t.instanceOfMonthDetail=function(e){return"month"in e&&void 0!==e.month&&"income"in e&&void 0!==e.income&&"budgeted"in e&&void 0!==e.budgeted&&"activity"in e&&void 0!==e.activity&&"to_be_budgeted"in e&&void 0!==e.to_be_budgeted&&"deleted"in e&&void 0!==e.deleted&&"categories"in e&&void 0!==e.categories},t.MonthDetailFromJSON=function(e){return o(e)},t.MonthDetailFromJSONTyped=o,t.MonthDetailToJSON=function(e){return null==e?e:{month:e.month,note:e.note,income:e.income,budgeted:e.budgeted,activity:e.activity,to_be_budgeted:e.to_be_budgeted,age_of_money:e.age_of_money,deleted:e.deleted,categories:e.categories.map(a.CategoryToJSON)}}},4972:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MonthDetailResponseToJSON=t.MonthDetailResponseFromJSONTyped=t.MonthDetailResponseFromJSON=t.instanceOfMonthDetailResponse=void 0;const a=n(6420);function o(e,t){return null==e?e:{data:(0,a.MonthDetailResponseDataFromJSON)(e.data)}}t.instanceOfMonthDetailResponse=function(e){return"data"in e&&void 0!==e.data},t.MonthDetailResponseFromJSON=function(e){return o(e)},t.MonthDetailResponseFromJSONTyped=o,t.MonthDetailResponseToJSON=function(e){return null==e?e:{data:(0,a.MonthDetailResponseDataToJSON)(e.data)}}},6420:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MonthDetailResponseDataToJSON=t.MonthDetailResponseDataFromJSONTyped=t.MonthDetailResponseDataFromJSON=t.instanceOfMonthDetailResponseData=void 0;const a=n(7069);function o(e,t){return null==e?e:{month:(0,a.MonthDetailFromJSON)(e.month)}}t.instanceOfMonthDetailResponseData=function(e){return"month"in e&&void 0!==e.month},t.MonthDetailResponseDataFromJSON=function(e){return o(e)},t.MonthDetailResponseDataFromJSONTyped=o,t.MonthDetailResponseDataToJSON=function(e){return null==e?e:{month:(0,a.MonthDetailToJSON)(e.month)}}},7059:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MonthSummariesResponseToJSON=t.MonthSummariesResponseFromJSONTyped=t.MonthSummariesResponseFromJSON=t.instanceOfMonthSummariesResponse=void 0;const a=n(5484);function o(e,t){return null==e?e:{data:(0,a.MonthSummariesResponseDataFromJSON)(e.data)}}t.instanceOfMonthSummariesResponse=function(e){return"data"in e&&void 0!==e.data},t.MonthSummariesResponseFromJSON=function(e){return o(e)},t.MonthSummariesResponseFromJSONTyped=o,t.MonthSummariesResponseToJSON=function(e){return null==e?e:{data:(0,a.MonthSummariesResponseDataToJSON)(e.data)}}},5484:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MonthSummariesResponseDataToJSON=t.MonthSummariesResponseDataFromJSONTyped=t.MonthSummariesResponseDataFromJSON=t.instanceOfMonthSummariesResponseData=void 0;const a=n(3842);function o(e,t){return null==e?e:{months:e.months.map(a.MonthSummaryFromJSON),server_knowledge:e.server_knowledge}}t.instanceOfMonthSummariesResponseData=function(e){return"months"in e&&void 0!==e.months&&"server_knowledge"in e&&void 0!==e.server_knowledge},t.MonthSummariesResponseDataFromJSON=function(e){return o(e)},t.MonthSummariesResponseDataFromJSONTyped=o,t.MonthSummariesResponseDataToJSON=function(e){return null==e?e:{months:e.months.map(a.MonthSummaryToJSON),server_knowledge:e.server_knowledge}}},3842:(e,t)=>{"use strict";function n(e,t){return null==e?e:{month:e.month,note:null==e.note?void 0:e.note,income:e.income,budgeted:e.budgeted,activity:e.activity,to_be_budgeted:e.to_be_budgeted,age_of_money:null==e.age_of_money?void 0:e.age_of_money,deleted:e.deleted}}Object.defineProperty(t,"__esModule",{value:!0}),t.MonthSummaryToJSON=t.MonthSummaryFromJSONTyped=t.MonthSummaryFromJSON=t.instanceOfMonthSummary=void 0,t.instanceOfMonthSummary=function(e){return"month"in e&&void 0!==e.month&&"income"in e&&void 0!==e.income&&"budgeted"in e&&void 0!==e.budgeted&&"activity"in e&&void 0!==e.activity&&"to_be_budgeted"in e&&void 0!==e.to_be_budgeted&&"deleted"in e&&void 0!==e.deleted},t.MonthSummaryFromJSON=function(e){return n(e)},t.MonthSummaryFromJSONTyped=n,t.MonthSummaryToJSON=function(e){return null==e?e:{month:e.month,note:e.note,income:e.income,budgeted:e.budgeted,activity:e.activity,to_be_budgeted:e.to_be_budgeted,age_of_money:e.age_of_money,deleted:e.deleted}}},6024:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NewTransactionToJSON=t.NewTransactionFromJSONTyped=t.NewTransactionFromJSON=t.instanceOfNewTransaction=void 0;const a=n(6999),o=n(4839),r=n(9503);function i(e,t){return null==e?e:{account_id:null==e.account_id?void 0:e.account_id,date:null==e.date?void 0:e.date,amount:null==e.amount?void 0:e.amount,payee_id:null==e.payee_id?void 0:e.payee_id,payee_name:null==e.payee_name?void 0:e.payee_name,category_id:null==e.category_id?void 0:e.category_id,memo:null==e.memo?void 0:e.memo,cleared:null==e.cleared?void 0:(0,o.TransactionClearedStatusFromJSON)(e.cleared),approved:null==e.approved?void 0:e.approved,flag_color:null==e.flag_color?void 0:(0,a.TransactionFlagColorFromJSON)(e.flag_color),subtransactions:null==e.subtransactions?void 0:e.subtransactions.map(r.SaveSubTransactionFromJSON),import_id:null==e.import_id?void 0:e.import_id}}t.instanceOfNewTransaction=function(e){return!0},t.NewTransactionFromJSON=function(e){return i(e)},t.NewTransactionFromJSONTyped=i,t.NewTransactionToJSON=function(e){return null==e?e:{account_id:e.account_id,date:e.date,amount:e.amount,payee_id:e.payee_id,payee_name:e.payee_name,category_id:e.category_id,memo:e.memo,cleared:(0,o.TransactionClearedStatusToJSON)(e.cleared),approved:e.approved,flag_color:(0,a.TransactionFlagColorToJSON)(e.flag_color),subtransactions:null==e.subtransactions?void 0:e.subtransactions.map(r.SaveSubTransactionToJSON),import_id:e.import_id}}},4077:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PatchCategoryWrapperToJSON=t.PatchCategoryWrapperFromJSONTyped=t.PatchCategoryWrapperFromJSON=t.instanceOfPatchCategoryWrapper=void 0;const a=n(6702);function o(e,t){return null==e?e:{category:(0,a.SaveCategoryFromJSON)(e.category)}}t.instanceOfPatchCategoryWrapper=function(e){return"category"in e&&void 0!==e.category},t.PatchCategoryWrapperFromJSON=function(e){return o(e)},t.PatchCategoryWrapperFromJSONTyped=o,t.PatchCategoryWrapperToJSON=function(e){return null==e?e:{category:(0,a.SaveCategoryToJSON)(e.category)}}},3497:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PatchMonthCategoryWrapperToJSON=t.PatchMonthCategoryWrapperFromJSONTyped=t.PatchMonthCategoryWrapperFromJSON=t.instanceOfPatchMonthCategoryWrapper=void 0;const a=n(238);function o(e,t){return null==e?e:{category:(0,a.SaveMonthCategoryFromJSON)(e.category)}}t.instanceOfPatchMonthCategoryWrapper=function(e){return"category"in e&&void 0!==e.category},t.PatchMonthCategoryWrapperFromJSON=function(e){return o(e)},t.PatchMonthCategoryWrapperFromJSONTyped=o,t.PatchMonthCategoryWrapperToJSON=function(e){return null==e?e:{category:(0,a.SaveMonthCategoryToJSON)(e.category)}}},3877:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PatchPayeeWrapperToJSON=t.PatchPayeeWrapperFromJSONTyped=t.PatchPayeeWrapperFromJSON=t.instanceOfPatchPayeeWrapper=void 0;const a=n(6039);function o(e,t){return null==e?e:{payee:(0,a.SavePayeeFromJSON)(e.payee)}}t.instanceOfPatchPayeeWrapper=function(e){return"payee"in e&&void 0!==e.payee},t.PatchPayeeWrapperFromJSON=function(e){return o(e)},t.PatchPayeeWrapperFromJSONTyped=o,t.PatchPayeeWrapperToJSON=function(e){return null==e?e:{payee:(0,a.SavePayeeToJSON)(e.payee)}}},3801:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PatchTransactionsWrapperToJSON=t.PatchTransactionsWrapperFromJSONTyped=t.PatchTransactionsWrapperFromJSON=t.instanceOfPatchTransactionsWrapper=void 0;const a=n(82);function o(e,t){return null==e?e:{transactions:e.transactions.map(a.SaveTransactionWithIdOrImportIdFromJSON)}}t.instanceOfPatchTransactionsWrapper=function(e){return"transactions"in e&&void 0!==e.transactions},t.PatchTransactionsWrapperFromJSON=function(e){return o(e)},t.PatchTransactionsWrapperFromJSONTyped=o,t.PatchTransactionsWrapperToJSON=function(e){return null==e?e:{transactions:e.transactions.map(a.SaveTransactionWithIdOrImportIdToJSON)}}},3572:(e,t)=>{"use strict";function n(e,t){return null==e?e:{id:e.id,name:e.name,transfer_account_id:null==e.transfer_account_id?void 0:e.transfer_account_id,deleted:e.deleted}}Object.defineProperty(t,"__esModule",{value:!0}),t.PayeeToJSON=t.PayeeFromJSONTyped=t.PayeeFromJSON=t.instanceOfPayee=void 0,t.instanceOfPayee=function(e){return"id"in e&&void 0!==e.id&&"name"in e&&void 0!==e.name&&"deleted"in e&&void 0!==e.deleted},t.PayeeFromJSON=function(e){return n(e)},t.PayeeFromJSONTyped=n,t.PayeeToJSON=function(e){return null==e?e:{id:e.id,name:e.name,transfer_account_id:e.transfer_account_id,deleted:e.deleted}}},1893:(e,t)=>{"use strict";function n(e,t){return null==e?e:{id:e.id,payee_id:e.payee_id,latitude:e.latitude,longitude:e.longitude,deleted:e.deleted}}Object.defineProperty(t,"__esModule",{value:!0}),t.PayeeLocationToJSON=t.PayeeLocationFromJSONTyped=t.PayeeLocationFromJSON=t.instanceOfPayeeLocation=void 0,t.instanceOfPayeeLocation=function(e){return"id"in e&&void 0!==e.id&&"payee_id"in e&&void 0!==e.payee_id&&"latitude"in e&&void 0!==e.latitude&&"longitude"in e&&void 0!==e.longitude&&"deleted"in e&&void 0!==e.deleted},t.PayeeLocationFromJSON=function(e){return n(e)},t.PayeeLocationFromJSONTyped=n,t.PayeeLocationToJSON=function(e){return null==e?e:{id:e.id,payee_id:e.payee_id,latitude:e.latitude,longitude:e.longitude,deleted:e.deleted}}},6250:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PayeeLocationResponseToJSON=t.PayeeLocationResponseFromJSONTyped=t.PayeeLocationResponseFromJSON=t.instanceOfPayeeLocationResponse=void 0;const a=n(4076);function o(e,t){return null==e?e:{data:(0,a.PayeeLocationResponseDataFromJSON)(e.data)}}t.instanceOfPayeeLocationResponse=function(e){return"data"in e&&void 0!==e.data},t.PayeeLocationResponseFromJSON=function(e){return o(e)},t.PayeeLocationResponseFromJSONTyped=o,t.PayeeLocationResponseToJSON=function(e){return null==e?e:{data:(0,a.PayeeLocationResponseDataToJSON)(e.data)}}},4076:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PayeeLocationResponseDataToJSON=t.PayeeLocationResponseDataFromJSONTyped=t.PayeeLocationResponseDataFromJSON=t.instanceOfPayeeLocationResponseData=void 0;const a=n(1893);function o(e,t){return null==e?e:{payee_location:(0,a.PayeeLocationFromJSON)(e.payee_location)}}t.instanceOfPayeeLocationResponseData=function(e){return"payee_location"in e&&void 0!==e.payee_location},t.PayeeLocationResponseDataFromJSON=function(e){return o(e)},t.PayeeLocationResponseDataFromJSONTyped=o,t.PayeeLocationResponseDataToJSON=function(e){return null==e?e:{payee_location:(0,a.PayeeLocationToJSON)(e.payee_location)}}},1553:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PayeeLocationsResponseToJSON=t.PayeeLocationsResponseFromJSONTyped=t.PayeeLocationsResponseFromJSON=t.instanceOfPayeeLocationsResponse=void 0;const a=n(7453);function o(e,t){return null==e?e:{data:(0,a.PayeeLocationsResponseDataFromJSON)(e.data)}}t.instanceOfPayeeLocationsResponse=function(e){return"data"in e&&void 0!==e.data},t.PayeeLocationsResponseFromJSON=function(e){return o(e)},t.PayeeLocationsResponseFromJSONTyped=o,t.PayeeLocationsResponseToJSON=function(e){return null==e?e:{data:(0,a.PayeeLocationsResponseDataToJSON)(e.data)}}},7453:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PayeeLocationsResponseDataToJSON=t.PayeeLocationsResponseDataFromJSONTyped=t.PayeeLocationsResponseDataFromJSON=t.instanceOfPayeeLocationsResponseData=void 0;const a=n(1893);function o(e,t){return null==e?e:{payee_locations:e.payee_locations.map(a.PayeeLocationFromJSON)}}t.instanceOfPayeeLocationsResponseData=function(e){return"payee_locations"in e&&void 0!==e.payee_locations},t.PayeeLocationsResponseDataFromJSON=function(e){return o(e)},t.PayeeLocationsResponseDataFromJSONTyped=o,t.PayeeLocationsResponseDataToJSON=function(e){return null==e?e:{payee_locations:e.payee_locations.map(a.PayeeLocationToJSON)}}},8281:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PayeeResponseToJSON=t.PayeeResponseFromJSONTyped=t.PayeeResponseFromJSON=t.instanceOfPayeeResponse=void 0;const a=n(9659);function o(e,t){return null==e?e:{data:(0,a.PayeeResponseDataFromJSON)(e.data)}}t.instanceOfPayeeResponse=function(e){return"data"in e&&void 0!==e.data},t.PayeeResponseFromJSON=function(e){return o(e)},t.PayeeResponseFromJSONTyped=o,t.PayeeResponseToJSON=function(e){return null==e?e:{data:(0,a.PayeeResponseDataToJSON)(e.data)}}},9659:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PayeeResponseDataToJSON=t.PayeeResponseDataFromJSONTyped=t.PayeeResponseDataFromJSON=t.instanceOfPayeeResponseData=void 0;const a=n(3572);function o(e,t){return null==e?e:{payee:(0,a.PayeeFromJSON)(e.payee)}}t.instanceOfPayeeResponseData=function(e){return"payee"in e&&void 0!==e.payee},t.PayeeResponseDataFromJSON=function(e){return o(e)},t.PayeeResponseDataFromJSONTyped=o,t.PayeeResponseDataToJSON=function(e){return null==e?e:{payee:(0,a.PayeeToJSON)(e.payee)}}},9395:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PayeesResponseToJSON=t.PayeesResponseFromJSONTyped=t.PayeesResponseFromJSON=t.instanceOfPayeesResponse=void 0;const a=n(5144);function o(e,t){return null==e?e:{data:(0,a.PayeesResponseDataFromJSON)(e.data)}}t.instanceOfPayeesResponse=function(e){return"data"in e&&void 0!==e.data},t.PayeesResponseFromJSON=function(e){return o(e)},t.PayeesResponseFromJSONTyped=o,t.PayeesResponseToJSON=function(e){return null==e?e:{data:(0,a.PayeesResponseDataToJSON)(e.data)}}},5144:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PayeesResponseDataToJSON=t.PayeesResponseDataFromJSONTyped=t.PayeesResponseDataFromJSON=t.instanceOfPayeesResponseData=void 0;const a=n(3572);function o(e,t){return null==e?e:{payees:e.payees.map(a.PayeeFromJSON),server_knowledge:e.server_knowledge}}t.instanceOfPayeesResponseData=function(e){return"payees"in e&&void 0!==e.payees&&"server_knowledge"in e&&void 0!==e.server_knowledge},t.PayeesResponseDataFromJSON=function(e){return o(e)},t.PayeesResponseDataFromJSONTyped=o,t.PayeesResponseDataToJSON=function(e){return null==e?e:{payees:e.payees.map(a.PayeeToJSON),server_knowledge:e.server_knowledge}}},3306:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PostAccountWrapperToJSON=t.PostAccountWrapperFromJSONTyped=t.PostAccountWrapperFromJSON=t.instanceOfPostAccountWrapper=void 0;const a=n(8463);function o(e,t){return null==e?e:{account:(0,a.SaveAccountFromJSON)(e.account)}}t.instanceOfPostAccountWrapper=function(e){return"account"in e&&void 0!==e.account},t.PostAccountWrapperFromJSON=function(e){return o(e)},t.PostAccountWrapperFromJSONTyped=o,t.PostAccountWrapperToJSON=function(e){return null==e?e:{account:(0,a.SaveAccountToJSON)(e.account)}}},7475:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PostScheduledTransactionWrapperToJSON=t.PostScheduledTransactionWrapperFromJSONTyped=t.PostScheduledTransactionWrapperFromJSON=t.instanceOfPostScheduledTransactionWrapper=void 0;const a=n(3006);function o(e,t){return null==e?e:{scheduled_transaction:(0,a.SaveScheduledTransactionFromJSON)(e.scheduled_transaction)}}t.instanceOfPostScheduledTransactionWrapper=function(e){return"scheduled_transaction"in e&&void 0!==e.scheduled_transaction},t.PostScheduledTransactionWrapperFromJSON=function(e){return o(e)},t.PostScheduledTransactionWrapperFromJSONTyped=o,t.PostScheduledTransactionWrapperToJSON=function(e){return null==e?e:{scheduled_transaction:(0,a.SaveScheduledTransactionToJSON)(e.scheduled_transaction)}}},9429:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PostTransactionsWrapperToJSON=t.PostTransactionsWrapperFromJSONTyped=t.PostTransactionsWrapperFromJSON=t.instanceOfPostTransactionsWrapper=void 0;const a=n(6024);function o(e,t){return null==e?e:{transaction:null==e.transaction?void 0:(0,a.NewTransactionFromJSON)(e.transaction),transactions:null==e.transactions?void 0:e.transactions.map(a.NewTransactionFromJSON)}}t.instanceOfPostTransactionsWrapper=function(e){return!0},t.PostTransactionsWrapperFromJSON=function(e){return o(e)},t.PostTransactionsWrapperFromJSONTyped=o,t.PostTransactionsWrapperToJSON=function(e){return null==e?e:{transaction:(0,a.NewTransactionToJSON)(e.transaction),transactions:null==e.transactions?void 0:e.transactions.map(a.NewTransactionToJSON)}}},4032:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PutTransactionWrapperToJSON=t.PutTransactionWrapperFromJSONTyped=t.PutTransactionWrapperFromJSON=t.instanceOfPutTransactionWrapper=void 0;const a=n(5195);function o(e,t){return null==e?e:{transaction:(0,a.ExistingTransactionFromJSON)(e.transaction)}}t.instanceOfPutTransactionWrapper=function(e){return"transaction"in e&&void 0!==e.transaction},t.PutTransactionWrapperFromJSON=function(e){return o(e)},t.PutTransactionWrapperFromJSONTyped=o,t.PutTransactionWrapperToJSON=function(e){return null==e?e:{transaction:(0,a.ExistingTransactionToJSON)(e.transaction)}}},8463:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SaveAccountToJSON=t.SaveAccountFromJSONTyped=t.SaveAccountFromJSON=t.instanceOfSaveAccount=void 0;const a=n(809);function o(e,t){return null==e?e:{name:e.name,type:(0,a.AccountTypeFromJSON)(e.type),balance:e.balance}}t.instanceOfSaveAccount=function(e){return"name"in e&&void 0!==e.name&&"type"in e&&void 0!==e.type&&"balance"in e&&void 0!==e.balance},t.SaveAccountFromJSON=function(e){return o(e)},t.SaveAccountFromJSONTyped=o,t.SaveAccountToJSON=function(e){return null==e?e:{name:e.name,type:(0,a.AccountTypeToJSON)(e.type),balance:e.balance}}},6702:(e,t)=>{"use strict";function n(e,t){return null==e?e:{name:null==e.name?void 0:e.name,note:null==e.note?void 0:e.note,category_group_id:null==e.category_group_id?void 0:e.category_group_id}}Object.defineProperty(t,"__esModule",{value:!0}),t.SaveCategoryToJSON=t.SaveCategoryFromJSONTyped=t.SaveCategoryFromJSON=t.instanceOfSaveCategory=void 0,t.instanceOfSaveCategory=function(e){return!0},t.SaveCategoryFromJSON=function(e){return n(e)},t.SaveCategoryFromJSONTyped=n,t.SaveCategoryToJSON=function(e){return null==e?e:{name:e.name,note:e.note,category_group_id:e.category_group_id}}},8546:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SaveCategoryResponseToJSON=t.SaveCategoryResponseFromJSONTyped=t.SaveCategoryResponseFromJSON=t.instanceOfSaveCategoryResponse=void 0;const a=n(6798);function o(e,t){return null==e?e:{data:(0,a.SaveCategoryResponseDataFromJSON)(e.data)}}t.instanceOfSaveCategoryResponse=function(e){return"data"in e&&void 0!==e.data},t.SaveCategoryResponseFromJSON=function(e){return o(e)},t.SaveCategoryResponseFromJSONTyped=o,t.SaveCategoryResponseToJSON=function(e){return null==e?e:{data:(0,a.SaveCategoryResponseDataToJSON)(e.data)}}},6798:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SaveCategoryResponseDataToJSON=t.SaveCategoryResponseDataFromJSONTyped=t.SaveCategoryResponseDataFromJSON=t.instanceOfSaveCategoryResponseData=void 0;const a=n(7781);function o(e,t){return null==e?e:{category:(0,a.CategoryFromJSON)(e.category),server_knowledge:e.server_knowledge}}t.instanceOfSaveCategoryResponseData=function(e){return"category"in e&&void 0!==e.category&&"server_knowledge"in e&&void 0!==e.server_knowledge},t.SaveCategoryResponseDataFromJSON=function(e){return o(e)},t.SaveCategoryResponseDataFromJSONTyped=o,t.SaveCategoryResponseDataToJSON=function(e){return null==e?e:{category:(0,a.CategoryToJSON)(e.category),server_knowledge:e.server_knowledge}}},238:(e,t)=>{"use strict";function n(e,t){return null==e?e:{budgeted:e.budgeted}}Object.defineProperty(t,"__esModule",{value:!0}),t.SaveMonthCategoryToJSON=t.SaveMonthCategoryFromJSONTyped=t.SaveMonthCategoryFromJSON=t.instanceOfSaveMonthCategory=void 0,t.instanceOfSaveMonthCategory=function(e){return"budgeted"in e&&void 0!==e.budgeted},t.SaveMonthCategoryFromJSON=function(e){return n(e)},t.SaveMonthCategoryFromJSONTyped=n,t.SaveMonthCategoryToJSON=function(e){return null==e?e:{budgeted:e.budgeted}}},6039:(e,t)=>{"use strict";function n(e,t){return null==e?e:{name:null==e.name?void 0:e.name}}Object.defineProperty(t,"__esModule",{value:!0}),t.SavePayeeToJSON=t.SavePayeeFromJSONTyped=t.SavePayeeFromJSON=t.instanceOfSavePayee=void 0,t.instanceOfSavePayee=function(e){return!0},t.SavePayeeFromJSON=function(e){return n(e)},t.SavePayeeFromJSONTyped=n,t.SavePayeeToJSON=function(e){return null==e?e:{name:e.name}}},3738:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SavePayeeResponseToJSON=t.SavePayeeResponseFromJSONTyped=t.SavePayeeResponseFromJSON=t.instanceOfSavePayeeResponse=void 0;const a=n(1467);function o(e,t){return null==e?e:{data:(0,a.SavePayeeResponseDataFromJSON)(e.data)}}t.instanceOfSavePayeeResponse=function(e){return"data"in e&&void 0!==e.data},t.SavePayeeResponseFromJSON=function(e){return o(e)},t.SavePayeeResponseFromJSONTyped=o,t.SavePayeeResponseToJSON=function(e){return null==e?e:{data:(0,a.SavePayeeResponseDataToJSON)(e.data)}}},1467:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SavePayeeResponseDataToJSON=t.SavePayeeResponseDataFromJSONTyped=t.SavePayeeResponseDataFromJSON=t.instanceOfSavePayeeResponseData=void 0;const a=n(3572);function o(e,t){return null==e?e:{payee:(0,a.PayeeFromJSON)(e.payee),server_knowledge:e.server_knowledge}}t.instanceOfSavePayeeResponseData=function(e){return"payee"in e&&void 0!==e.payee&&"server_knowledge"in e&&void 0!==e.server_knowledge},t.SavePayeeResponseDataFromJSON=function(e){return o(e)},t.SavePayeeResponseDataFromJSONTyped=o,t.SavePayeeResponseDataToJSON=function(e){return null==e?e:{payee:(0,a.PayeeToJSON)(e.payee),server_knowledge:e.server_knowledge}}},3006:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SaveScheduledTransactionToJSON=t.SaveScheduledTransactionFromJSONTyped=t.SaveScheduledTransactionFromJSON=t.instanceOfSaveScheduledTransaction=void 0;const a=n(6999),o=n(5581);function r(e,t){return null==e?e:{account_id:e.account_id,date:e.date,amount:null==e.amount?void 0:e.amount,payee_id:null==e.payee_id?void 0:e.payee_id,payee_name:null==e.payee_name?void 0:e.payee_name,category_id:null==e.category_id?void 0:e.category_id,memo:null==e.memo?void 0:e.memo,flag_color:null==e.flag_color?void 0:(0,a.TransactionFlagColorFromJSON)(e.flag_color),frequency:null==e.frequency?void 0:(0,o.ScheduledTransactionFrequencyFromJSON)(e.frequency)}}t.instanceOfSaveScheduledTransaction=function(e){return"account_id"in e&&void 0!==e.account_id&&"date"in e&&void 0!==e.date},t.SaveScheduledTransactionFromJSON=function(e){return r(e)},t.SaveScheduledTransactionFromJSONTyped=r,t.SaveScheduledTransactionToJSON=function(e){return null==e?e:{account_id:e.account_id,date:e.date,amount:e.amount,payee_id:e.payee_id,payee_name:e.payee_name,category_id:e.category_id,memo:e.memo,flag_color:(0,a.TransactionFlagColorToJSON)(e.flag_color),frequency:(0,o.ScheduledTransactionFrequencyToJSON)(e.frequency)}}},9503:(e,t)=>{"use strict";function n(e,t){return null==e?e:{amount:e.amount,payee_id:null==e.payee_id?void 0:e.payee_id,payee_name:null==e.payee_name?void 0:e.payee_name,category_id:null==e.category_id?void 0:e.category_id,memo:null==e.memo?void 0:e.memo}}Object.defineProperty(t,"__esModule",{value:!0}),t.SaveSubTransactionToJSON=t.SaveSubTransactionFromJSONTyped=t.SaveSubTransactionFromJSON=t.instanceOfSaveSubTransaction=void 0,t.instanceOfSaveSubTransaction=function(e){return"amount"in e&&void 0!==e.amount},t.SaveSubTransactionFromJSON=function(e){return n(e)},t.SaveSubTransactionFromJSONTyped=n,t.SaveSubTransactionToJSON=function(e){return null==e?e:{amount:e.amount,payee_id:e.payee_id,payee_name:e.payee_name,category_id:e.category_id,memo:e.memo}}},82:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SaveTransactionWithIdOrImportIdToJSON=t.SaveTransactionWithIdOrImportIdFromJSONTyped=t.SaveTransactionWithIdOrImportIdFromJSON=t.instanceOfSaveTransactionWithIdOrImportId=void 0;const a=n(6999),o=n(4839),r=n(9503);function i(e,t){return null==e?e:{account_id:null==e.account_id?void 0:e.account_id,date:null==e.date?void 0:e.date,amount:null==e.amount?void 0:e.amount,payee_id:null==e.payee_id?void 0:e.payee_id,payee_name:null==e.payee_name?void 0:e.payee_name,category_id:null==e.category_id?void 0:e.category_id,memo:null==e.memo?void 0:e.memo,cleared:null==e.cleared?void 0:(0,o.TransactionClearedStatusFromJSON)(e.cleared),approved:null==e.approved?void 0:e.approved,flag_color:null==e.flag_color?void 0:(0,a.TransactionFlagColorFromJSON)(e.flag_color),subtransactions:null==e.subtransactions?void 0:e.subtransactions.map(r.SaveSubTransactionFromJSON),id:null==e.id?void 0:e.id,import_id:null==e.import_id?void 0:e.import_id}}t.instanceOfSaveTransactionWithIdOrImportId=function(e){return!0},t.SaveTransactionWithIdOrImportIdFromJSON=function(e){return i(e)},t.SaveTransactionWithIdOrImportIdFromJSONTyped=i,t.SaveTransactionWithIdOrImportIdToJSON=function(e){return null==e?e:{account_id:e.account_id,date:e.date,amount:e.amount,payee_id:e.payee_id,payee_name:e.payee_name,category_id:e.category_id,memo:e.memo,cleared:(0,o.TransactionClearedStatusToJSON)(e.cleared),approved:e.approved,flag_color:(0,a.TransactionFlagColorToJSON)(e.flag_color),subtransactions:null==e.subtransactions?void 0:e.subtransactions.map(r.SaveSubTransactionToJSON),id:e.id,import_id:e.import_id}}},1962:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SaveTransactionWithOptionalFieldsToJSON=t.SaveTransactionWithOptionalFieldsFromJSONTyped=t.SaveTransactionWithOptionalFieldsFromJSON=t.instanceOfSaveTransactionWithOptionalFields=void 0;const a=n(6999),o=n(4839),r=n(9503);function i(e,t){return null==e?e:{account_id:null==e.account_id?void 0:e.account_id,date:null==e.date?void 0:e.date,amount:null==e.amount?void 0:e.amount,payee_id:null==e.payee_id?void 0:e.payee_id,payee_name:null==e.payee_name?void 0:e.payee_name,category_id:null==e.category_id?void 0:e.category_id,memo:null==e.memo?void 0:e.memo,cleared:null==e.cleared?void 0:(0,o.TransactionClearedStatusFromJSON)(e.cleared),approved:null==e.approved?void 0:e.approved,flag_color:null==e.flag_color?void 0:(0,a.TransactionFlagColorFromJSON)(e.flag_color),subtransactions:null==e.subtransactions?void 0:e.subtransactions.map(r.SaveSubTransactionFromJSON)}}t.instanceOfSaveTransactionWithOptionalFields=function(e){return!0},t.SaveTransactionWithOptionalFieldsFromJSON=function(e){return i(e)},t.SaveTransactionWithOptionalFieldsFromJSONTyped=i,t.SaveTransactionWithOptionalFieldsToJSON=function(e){return null==e?e:{account_id:e.account_id,date:e.date,amount:e.amount,payee_id:e.payee_id,payee_name:e.payee_name,category_id:e.category_id,memo:e.memo,cleared:(0,o.TransactionClearedStatusToJSON)(e.cleared),approved:e.approved,flag_color:(0,a.TransactionFlagColorToJSON)(e.flag_color),subtransactions:null==e.subtransactions?void 0:e.subtransactions.map(r.SaveSubTransactionToJSON)}}},4350:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SaveTransactionsResponseToJSON=t.SaveTransactionsResponseFromJSONTyped=t.SaveTransactionsResponseFromJSON=t.instanceOfSaveTransactionsResponse=void 0;const a=n(8204);function o(e,t){return null==e?e:{data:(0,a.SaveTransactionsResponseDataFromJSON)(e.data)}}t.instanceOfSaveTransactionsResponse=function(e){return"data"in e&&void 0!==e.data},t.SaveTransactionsResponseFromJSON=function(e){return o(e)},t.SaveTransactionsResponseFromJSONTyped=o,t.SaveTransactionsResponseToJSON=function(e){return null==e?e:{data:(0,a.SaveTransactionsResponseDataToJSON)(e.data)}}},8204:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SaveTransactionsResponseDataToJSON=t.SaveTransactionsResponseDataFromJSONTyped=t.SaveTransactionsResponseDataFromJSON=t.instanceOfSaveTransactionsResponseData=void 0;const a=n(8687);function o(e,t){return null==e?e:{transaction_ids:e.transaction_ids,transaction:null==e.transaction?void 0:(0,a.TransactionDetailFromJSON)(e.transaction),transactions:null==e.transactions?void 0:e.transactions.map(a.TransactionDetailFromJSON),duplicate_import_ids:null==e.duplicate_import_ids?void 0:e.duplicate_import_ids,server_knowledge:e.server_knowledge}}t.instanceOfSaveTransactionsResponseData=function(e){return"transaction_ids"in e&&void 0!==e.transaction_ids&&"server_knowledge"in e&&void 0!==e.server_knowledge},t.SaveTransactionsResponseDataFromJSON=function(e){return o(e)},t.SaveTransactionsResponseDataFromJSONTyped=o,t.SaveTransactionsResponseDataToJSON=function(e){return null==e?e:{transaction_ids:e.transaction_ids,transaction:(0,a.TransactionDetailToJSON)(e.transaction),transactions:null==e.transactions?void 0:e.transactions.map(a.TransactionDetailToJSON),duplicate_import_ids:e.duplicate_import_ids,server_knowledge:e.server_knowledge}}},5695:(e,t)=>{"use strict";function n(e,t){return null==e?e:{id:e.id,scheduled_transaction_id:e.scheduled_transaction_id,amount:e.amount,memo:null==e.memo?void 0:e.memo,payee_id:null==e.payee_id?void 0:e.payee_id,category_id:null==e.category_id?void 0:e.category_id,transfer_account_id:null==e.transfer_account_id?void 0:e.transfer_account_id,deleted:e.deleted}}Object.defineProperty(t,"__esModule",{value:!0}),t.ScheduledSubTransactionToJSON=t.ScheduledSubTransactionFromJSONTyped=t.ScheduledSubTransactionFromJSON=t.instanceOfScheduledSubTransaction=void 0,t.instanceOfScheduledSubTransaction=function(e){return"id"in e&&void 0!==e.id&&"scheduled_transaction_id"in e&&void 0!==e.scheduled_transaction_id&&"amount"in e&&void 0!==e.amount&&"deleted"in e&&void 0!==e.deleted},t.ScheduledSubTransactionFromJSON=function(e){return n(e)},t.ScheduledSubTransactionFromJSONTyped=n,t.ScheduledSubTransactionToJSON=function(e){return null==e?e:{id:e.id,scheduled_transaction_id:e.scheduled_transaction_id,amount:e.amount,memo:e.memo,payee_id:e.payee_id,category_id:e.category_id,transfer_account_id:e.transfer_account_id,deleted:e.deleted}}},4795:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ScheduledTransactionDetailToJSON=t.ScheduledTransactionDetailFromJSONTyped=t.ScheduledTransactionDetailFromJSON=t.instanceOfScheduledTransactionDetail=t.ScheduledTransactionDetailFrequencyEnum=void 0;const a=n(6999),o=n(5695);function r(e,t){return null==e?e:{id:e.id,date_first:e.date_first,date_next:e.date_next,frequency:e.frequency,amount:e.amount,memo:null==e.memo?void 0:e.memo,flag_color:null==e.flag_color?void 0:(0,a.TransactionFlagColorFromJSON)(e.flag_color),flag_name:null==e.flag_name?void 0:e.flag_name,account_id:e.account_id,payee_id:null==e.payee_id?void 0:e.payee_id,category_id:null==e.category_id?void 0:e.category_id,transfer_account_id:null==e.transfer_account_id?void 0:e.transfer_account_id,deleted:e.deleted,account_name:e.account_name,payee_name:null==e.payee_name?void 0:e.payee_name,category_name:null==e.category_name?void 0:e.category_name,subtransactions:e.subtransactions.map(o.ScheduledSubTransactionFromJSON)}}t.ScheduledTransactionDetailFrequencyEnum={Never:"never",Daily:"daily",Weekly:"weekly",EveryOtherWeek:"everyOtherWeek",TwiceAMonth:"twiceAMonth",Every4Weeks:"every4Weeks",Monthly:"monthly",EveryOtherMonth:"everyOtherMonth",Every3Months:"every3Months",Every4Months:"every4Months",TwiceAYear:"twiceAYear",Yearly:"yearly",EveryOtherYear:"everyOtherYear"},t.instanceOfScheduledTransactionDetail=function(e){return"id"in e&&void 0!==e.id&&"date_first"in e&&void 0!==e.date_first&&"date_next"in e&&void 0!==e.date_next&&"frequency"in e&&void 0!==e.frequency&&"amount"in e&&void 0!==e.amount&&"account_id"in e&&void 0!==e.account_id&&"deleted"in e&&void 0!==e.deleted&&"account_name"in e&&void 0!==e.account_name&&"subtransactions"in e&&void 0!==e.subtransactions},t.ScheduledTransactionDetailFromJSON=function(e){return r(e)},t.ScheduledTransactionDetailFromJSONTyped=r,t.ScheduledTransactionDetailToJSON=function(e){return null==e?e:{id:e.id,date_first:e.date_first,date_next:e.date_next,frequency:e.frequency,amount:e.amount,memo:e.memo,flag_color:(0,a.TransactionFlagColorToJSON)(e.flag_color),flag_name:e.flag_name,account_id:e.account_id,payee_id:e.payee_id,category_id:e.category_id,transfer_account_id:e.transfer_account_id,deleted:e.deleted,account_name:e.account_name,payee_name:e.payee_name,category_name:e.category_name,subtransactions:e.subtransactions.map(o.ScheduledSubTransactionToJSON)}}},5581:(e,t)=>{"use strict";function n(e,t){return e}Object.defineProperty(t,"__esModule",{value:!0}),t.ScheduledTransactionFrequencyToJSON=t.ScheduledTransactionFrequencyFromJSONTyped=t.ScheduledTransactionFrequencyFromJSON=t.instanceOfScheduledTransactionFrequency=t.ScheduledTransactionFrequency=void 0,t.ScheduledTransactionFrequency={Never:"never",Daily:"daily",Weekly:"weekly",EveryOtherWeek:"everyOtherWeek",TwiceAMonth:"twiceAMonth",Every4Weeks:"every4Weeks",Monthly:"monthly",EveryOtherMonth:"everyOtherMonth",Every3Months:"every3Months",Every4Months:"every4Months",TwiceAYear:"twiceAYear",Yearly:"yearly",EveryOtherYear:"everyOtherYear"},t.instanceOfScheduledTransactionFrequency=function(e){for(const n in t.ScheduledTransactionFrequency)if(Object.prototype.hasOwnProperty.call(t.ScheduledTransactionFrequency,n)&&t.ScheduledTransactionFrequency[n]===e)return!0;return!1},t.ScheduledTransactionFrequencyFromJSON=function(e){return n(e)},t.ScheduledTransactionFrequencyFromJSONTyped=n,t.ScheduledTransactionFrequencyToJSON=function(e){return e}},166:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ScheduledTransactionResponseToJSON=t.ScheduledTransactionResponseFromJSONTyped=t.ScheduledTransactionResponseFromJSON=t.instanceOfScheduledTransactionResponse=void 0;const a=n(3686);function o(e,t){return null==e?e:{data:(0,a.ScheduledTransactionResponseDataFromJSON)(e.data)}}t.instanceOfScheduledTransactionResponse=function(e){return"data"in e&&void 0!==e.data},t.ScheduledTransactionResponseFromJSON=function(e){return o(e)},t.ScheduledTransactionResponseFromJSONTyped=o,t.ScheduledTransactionResponseToJSON=function(e){return null==e?e:{data:(0,a.ScheduledTransactionResponseDataToJSON)(e.data)}}},3686:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ScheduledTransactionResponseDataToJSON=t.ScheduledTransactionResponseDataFromJSONTyped=t.ScheduledTransactionResponseDataFromJSON=t.instanceOfScheduledTransactionResponseData=void 0;const a=n(4795);function o(e,t){return null==e?e:{scheduled_transaction:(0,a.ScheduledTransactionDetailFromJSON)(e.scheduled_transaction)}}t.instanceOfScheduledTransactionResponseData=function(e){return"scheduled_transaction"in e&&void 0!==e.scheduled_transaction},t.ScheduledTransactionResponseDataFromJSON=function(e){return o(e)},t.ScheduledTransactionResponseDataFromJSONTyped=o,t.ScheduledTransactionResponseDataToJSON=function(e){return null==e?e:{scheduled_transaction:(0,a.ScheduledTransactionDetailToJSON)(e.scheduled_transaction)}}},4396:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ScheduledTransactionSummaryToJSON=t.ScheduledTransactionSummaryFromJSONTyped=t.ScheduledTransactionSummaryFromJSON=t.instanceOfScheduledTransactionSummary=t.ScheduledTransactionSummaryFrequencyEnum=void 0;const a=n(6999);function o(e,t){return null==e?e:{id:e.id,date_first:e.date_first,date_next:e.date_next,frequency:e.frequency,amount:e.amount,memo:null==e.memo?void 0:e.memo,flag_color:null==e.flag_color?void 0:(0,a.TransactionFlagColorFromJSON)(e.flag_color),flag_name:null==e.flag_name?void 0:e.flag_name,account_id:e.account_id,payee_id:null==e.payee_id?void 0:e.payee_id,category_id:null==e.category_id?void 0:e.category_id,transfer_account_id:null==e.transfer_account_id?void 0:e.transfer_account_id,deleted:e.deleted}}t.ScheduledTransactionSummaryFrequencyEnum={Never:"never",Daily:"daily",Weekly:"weekly",EveryOtherWeek:"everyOtherWeek",TwiceAMonth:"twiceAMonth",Every4Weeks:"every4Weeks",Monthly:"monthly",EveryOtherMonth:"everyOtherMonth",Every3Months:"every3Months",Every4Months:"every4Months",TwiceAYear:"twiceAYear",Yearly:"yearly",EveryOtherYear:"everyOtherYear"},t.instanceOfScheduledTransactionSummary=function(e){return"id"in e&&void 0!==e.id&&"date_first"in e&&void 0!==e.date_first&&"date_next"in e&&void 0!==e.date_next&&"frequency"in e&&void 0!==e.frequency&&"amount"in e&&void 0!==e.amount&&"account_id"in e&&void 0!==e.account_id&&"deleted"in e&&void 0!==e.deleted},t.ScheduledTransactionSummaryFromJSON=function(e){return o(e)},t.ScheduledTransactionSummaryFromJSONTyped=o,t.ScheduledTransactionSummaryToJSON=function(e){return null==e?e:{id:e.id,date_first:e.date_first,date_next:e.date_next,frequency:e.frequency,amount:e.amount,memo:e.memo,flag_color:(0,a.TransactionFlagColorToJSON)(e.flag_color),flag_name:e.flag_name,account_id:e.account_id,payee_id:e.payee_id,category_id:e.category_id,transfer_account_id:e.transfer_account_id,deleted:e.deleted}}},2451:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ScheduledTransactionsResponseToJSON=t.ScheduledTransactionsResponseFromJSONTyped=t.ScheduledTransactionsResponseFromJSON=t.instanceOfScheduledTransactionsResponse=void 0;const a=n(3109);function o(e,t){return null==e?e:{data:(0,a.ScheduledTransactionsResponseDataFromJSON)(e.data)}}t.instanceOfScheduledTransactionsResponse=function(e){return"data"in e&&void 0!==e.data},t.ScheduledTransactionsResponseFromJSON=function(e){return o(e)},t.ScheduledTransactionsResponseFromJSONTyped=o,t.ScheduledTransactionsResponseToJSON=function(e){return null==e?e:{data:(0,a.ScheduledTransactionsResponseDataToJSON)(e.data)}}},3109:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ScheduledTransactionsResponseDataToJSON=t.ScheduledTransactionsResponseDataFromJSONTyped=t.ScheduledTransactionsResponseDataFromJSON=t.instanceOfScheduledTransactionsResponseData=void 0;const a=n(4795);function o(e,t){return null==e?e:{scheduled_transactions:e.scheduled_transactions.map(a.ScheduledTransactionDetailFromJSON),server_knowledge:e.server_knowledge}}t.instanceOfScheduledTransactionsResponseData=function(e){return"scheduled_transactions"in e&&void 0!==e.scheduled_transactions&&"server_knowledge"in e&&void 0!==e.server_knowledge},t.ScheduledTransactionsResponseDataFromJSON=function(e){return o(e)},t.ScheduledTransactionsResponseDataFromJSONTyped=o,t.ScheduledTransactionsResponseDataToJSON=function(e){return null==e?e:{scheduled_transactions:e.scheduled_transactions.map(a.ScheduledTransactionDetailToJSON),server_knowledge:e.server_knowledge}}},7521:(e,t)=>{"use strict";function n(e,t){return null==e?e:{id:e.id,transaction_id:e.transaction_id,amount:e.amount,memo:null==e.memo?void 0:e.memo,payee_id:null==e.payee_id?void 0:e.payee_id,payee_name:null==e.payee_name?void 0:e.payee_name,category_id:null==e.category_id?void 0:e.category_id,category_name:null==e.category_name?void 0:e.category_name,transfer_account_id:null==e.transfer_account_id?void 0:e.transfer_account_id,transfer_transaction_id:null==e.transfer_transaction_id?void 0:e.transfer_transaction_id,deleted:e.deleted}}Object.defineProperty(t,"__esModule",{value:!0}),t.SubTransactionToJSON=t.SubTransactionFromJSONTyped=t.SubTransactionFromJSON=t.instanceOfSubTransaction=void 0,t.instanceOfSubTransaction=function(e){return"id"in e&&void 0!==e.id&&"transaction_id"in e&&void 0!==e.transaction_id&&"amount"in e&&void 0!==e.amount&&"deleted"in e&&void 0!==e.deleted},t.SubTransactionFromJSON=function(e){return n(e)},t.SubTransactionFromJSONTyped=n,t.SubTransactionToJSON=function(e){return null==e?e:{id:e.id,transaction_id:e.transaction_id,amount:e.amount,memo:e.memo,payee_id:e.payee_id,payee_name:e.payee_name,category_id:e.category_id,category_name:e.category_name,transfer_account_id:e.transfer_account_id,transfer_transaction_id:e.transfer_transaction_id,deleted:e.deleted}}},4839:(e,t)=>{"use strict";function n(e,t){return e}Object.defineProperty(t,"__esModule",{value:!0}),t.TransactionClearedStatusToJSON=t.TransactionClearedStatusFromJSONTyped=t.TransactionClearedStatusFromJSON=t.instanceOfTransactionClearedStatus=t.TransactionClearedStatus=void 0,t.TransactionClearedStatus={Cleared:"cleared",Uncleared:"uncleared",Reconciled:"reconciled"},t.instanceOfTransactionClearedStatus=function(e){for(const n in t.TransactionClearedStatus)if(Object.prototype.hasOwnProperty.call(t.TransactionClearedStatus,n)&&t.TransactionClearedStatus[n]===e)return!0;return!1},t.TransactionClearedStatusFromJSON=function(e){return n(e)},t.TransactionClearedStatusFromJSONTyped=n,t.TransactionClearedStatusToJSON=function(e){return e}},8687:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TransactionDetailToJSON=t.TransactionDetailFromJSONTyped=t.TransactionDetailFromJSON=t.instanceOfTransactionDetail=t.TransactionDetailDebtTransactionTypeEnum=void 0;const a=n(6999),o=n(4839),r=n(7521);function i(e,t){return null==e?e:{id:e.id,date:e.date,amount:e.amount,memo:null==e.memo?void 0:e.memo,cleared:(0,o.TransactionClearedStatusFromJSON)(e.cleared),approved:e.approved,flag_color:null==e.flag_color?void 0:(0,a.TransactionFlagColorFromJSON)(e.flag_color),flag_name:null==e.flag_name?void 0:e.flag_name,account_id:e.account_id,payee_id:null==e.payee_id?void 0:e.payee_id,category_id:null==e.category_id?void 0:e.category_id,transfer_account_id:null==e.transfer_account_id?void 0:e.transfer_account_id,transfer_transaction_id:null==e.transfer_transaction_id?void 0:e.transfer_transaction_id,matched_transaction_id:null==e.matched_transaction_id?void 0:e.matched_transaction_id,import_id:null==e.import_id?void 0:e.import_id,import_payee_name:null==e.import_payee_name?void 0:e.import_payee_name,import_payee_name_original:null==e.import_payee_name_original?void 0:e.import_payee_name_original,debt_transaction_type:null==e.debt_transaction_type?void 0:e.debt_transaction_type,deleted:e.deleted,account_name:e.account_name,payee_name:null==e.payee_name?void 0:e.payee_name,category_name:null==e.category_name?void 0:e.category_name,subtransactions:e.subtransactions.map(r.SubTransactionFromJSON)}}t.TransactionDetailDebtTransactionTypeEnum={Payment:"payment",Refund:"refund",Fee:"fee",Interest:"interest",Escrow:"escrow",BalanceAdjustment:"balanceAdjustment",Credit:"credit",Charge:"charge"},t.instanceOfTransactionDetail=function(e){return"id"in e&&void 0!==e.id&&"date"in e&&void 0!==e.date&&"amount"in e&&void 0!==e.amount&&"cleared"in e&&void 0!==e.cleared&&"approved"in e&&void 0!==e.approved&&"account_id"in e&&void 0!==e.account_id&&"deleted"in e&&void 0!==e.deleted&&"account_name"in e&&void 0!==e.account_name&&"subtransactions"in e&&void 0!==e.subtransactions},t.TransactionDetailFromJSON=function(e){return i(e)},t.TransactionDetailFromJSONTyped=i,t.TransactionDetailToJSON=function(e){return null==e?e:{id:e.id,date:e.date,amount:e.amount,memo:e.memo,cleared:(0,o.TransactionClearedStatusToJSON)(e.cleared),approved:e.approved,flag_color:(0,a.TransactionFlagColorToJSON)(e.flag_color),flag_name:e.flag_name,account_id:e.account_id,payee_id:e.payee_id,category_id:e.category_id,transfer_account_id:e.transfer_account_id,transfer_transaction_id:e.transfer_transaction_id,matched_transaction_id:e.matched_transaction_id,import_id:e.import_id,import_payee_name:e.import_payee_name,import_payee_name_original:e.import_payee_name_original,debt_transaction_type:e.debt_transaction_type,deleted:e.deleted,account_name:e.account_name,payee_name:e.payee_name,category_name:e.category_name,subtransactions:e.subtransactions.map(r.SubTransactionToJSON)}}},6999:(e,t)=>{"use strict";function n(e,t){return e}Object.defineProperty(t,"__esModule",{value:!0}),t.TransactionFlagColorToJSON=t.TransactionFlagColorFromJSONTyped=t.TransactionFlagColorFromJSON=t.instanceOfTransactionFlagColor=t.TransactionFlagColor=void 0,t.TransactionFlagColor={Red:"red",Orange:"orange",Yellow:"yellow",Green:"green",Blue:"blue",Purple:"purple"},t.instanceOfTransactionFlagColor=function(e){for(const n in t.TransactionFlagColor)if(Object.prototype.hasOwnProperty.call(t.TransactionFlagColor,n)&&t.TransactionFlagColor[n]===e)return!0;return!1},t.TransactionFlagColorFromJSON=function(e){return n(e)},t.TransactionFlagColorFromJSONTyped=n,t.TransactionFlagColorToJSON=function(e){return e}},7992:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TransactionResponseToJSON=t.TransactionResponseFromJSONTyped=t.TransactionResponseFromJSON=t.instanceOfTransactionResponse=void 0;const a=n(1559);function o(e,t){return null==e?e:{data:(0,a.TransactionResponseDataFromJSON)(e.data)}}t.instanceOfTransactionResponse=function(e){return"data"in e&&void 0!==e.data},t.TransactionResponseFromJSON=function(e){return o(e)},t.TransactionResponseFromJSONTyped=o,t.TransactionResponseToJSON=function(e){return null==e?e:{data:(0,a.TransactionResponseDataToJSON)(e.data)}}},1559:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TransactionResponseDataToJSON=t.TransactionResponseDataFromJSONTyped=t.TransactionResponseDataFromJSON=t.instanceOfTransactionResponseData=void 0;const a=n(8687);function o(e,t){return null==e?e:{transaction:(0,a.TransactionDetailFromJSON)(e.transaction)}}t.instanceOfTransactionResponseData=function(e){return"transaction"in e&&void 0!==e.transaction},t.TransactionResponseDataFromJSON=function(e){return o(e)},t.TransactionResponseDataFromJSONTyped=o,t.TransactionResponseDataToJSON=function(e){return null==e?e:{transaction:(0,a.TransactionDetailToJSON)(e.transaction)}}},6661:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TransactionSummaryToJSON=t.TransactionSummaryFromJSONTyped=t.TransactionSummaryFromJSON=t.instanceOfTransactionSummary=t.TransactionSummaryDebtTransactionTypeEnum=void 0;const a=n(6999),o=n(4839);function r(e,t){return null==e?e:{id:e.id,date:e.date,amount:e.amount,memo:null==e.memo?void 0:e.memo,cleared:(0,o.TransactionClearedStatusFromJSON)(e.cleared),approved:e.approved,flag_color:null==e.flag_color?void 0:(0,a.TransactionFlagColorFromJSON)(e.flag_color),flag_name:null==e.flag_name?void 0:e.flag_name,account_id:e.account_id,payee_id:null==e.payee_id?void 0:e.payee_id,category_id:null==e.category_id?void 0:e.category_id,transfer_account_id:null==e.transfer_account_id?void 0:e.transfer_account_id,transfer_transaction_id:null==e.transfer_transaction_id?void 0:e.transfer_transaction_id,matched_transaction_id:null==e.matched_transaction_id?void 0:e.matched_transaction_id,import_id:null==e.import_id?void 0:e.import_id,import_payee_name:null==e.import_payee_name?void 0:e.import_payee_name,import_payee_name_original:null==e.import_payee_name_original?void 0:e.import_payee_name_original,debt_transaction_type:null==e.debt_transaction_type?void 0:e.debt_transaction_type,deleted:e.deleted}}t.TransactionSummaryDebtTransactionTypeEnum={Payment:"payment",Refund:"refund",Fee:"fee",Interest:"interest",Escrow:"escrow",BalanceAdjustment:"balanceAdjustment",Credit:"credit",Charge:"charge"},t.instanceOfTransactionSummary=function(e){return"id"in e&&void 0!==e.id&&"date"in e&&void 0!==e.date&&"amount"in e&&void 0!==e.amount&&"cleared"in e&&void 0!==e.cleared&&"approved"in e&&void 0!==e.approved&&"account_id"in e&&void 0!==e.account_id&&"deleted"in e&&void 0!==e.deleted},t.TransactionSummaryFromJSON=function(e){return r(e)},t.TransactionSummaryFromJSONTyped=r,t.TransactionSummaryToJSON=function(e){return null==e?e:{id:e.id,date:e.date,amount:e.amount,memo:e.memo,cleared:(0,o.TransactionClearedStatusToJSON)(e.cleared),approved:e.approved,flag_color:(0,a.TransactionFlagColorToJSON)(e.flag_color),flag_name:e.flag_name,account_id:e.account_id,payee_id:e.payee_id,category_id:e.category_id,transfer_account_id:e.transfer_account_id,transfer_transaction_id:e.transfer_transaction_id,matched_transaction_id:e.matched_transaction_id,import_id:e.import_id,import_payee_name:e.import_payee_name,import_payee_name_original:e.import_payee_name_original,debt_transaction_type:e.debt_transaction_type,deleted:e.deleted}}},2181:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TransactionsImportResponseToJSON=t.TransactionsImportResponseFromJSONTyped=t.TransactionsImportResponseFromJSON=t.instanceOfTransactionsImportResponse=void 0;const a=n(4691);function o(e,t){return null==e?e:{data:(0,a.TransactionsImportResponseDataFromJSON)(e.data)}}t.instanceOfTransactionsImportResponse=function(e){return"data"in e&&void 0!==e.data},t.TransactionsImportResponseFromJSON=function(e){return o(e)},t.TransactionsImportResponseFromJSONTyped=o,t.TransactionsImportResponseToJSON=function(e){return null==e?e:{data:(0,a.TransactionsImportResponseDataToJSON)(e.data)}}},4691:(e,t)=>{"use strict";function n(e,t){return null==e?e:{transaction_ids:e.transaction_ids}}Object.defineProperty(t,"__esModule",{value:!0}),t.TransactionsImportResponseDataToJSON=t.TransactionsImportResponseDataFromJSONTyped=t.TransactionsImportResponseDataFromJSON=t.instanceOfTransactionsImportResponseData=void 0,t.instanceOfTransactionsImportResponseData=function(e){return"transaction_ids"in e&&void 0!==e.transaction_ids},t.TransactionsImportResponseDataFromJSON=function(e){return n(e)},t.TransactionsImportResponseDataFromJSONTyped=n,t.TransactionsImportResponseDataToJSON=function(e){return null==e?e:{transaction_ids:e.transaction_ids}}},7530:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TransactionsResponseToJSON=t.TransactionsResponseFromJSONTyped=t.TransactionsResponseFromJSON=t.instanceOfTransactionsResponse=void 0;const a=n(7010);function o(e,t){return null==e?e:{data:(0,a.TransactionsResponseDataFromJSON)(e.data)}}t.instanceOfTransactionsResponse=function(e){return"data"in e&&void 0!==e.data},t.TransactionsResponseFromJSON=function(e){return o(e)},t.TransactionsResponseFromJSONTyped=o,t.TransactionsResponseToJSON=function(e){return null==e?e:{data:(0,a.TransactionsResponseDataToJSON)(e.data)}}},7010:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TransactionsResponseDataToJSON=t.TransactionsResponseDataFromJSONTyped=t.TransactionsResponseDataFromJSON=t.instanceOfTransactionsResponseData=void 0;const a=n(8687);function o(e,t){return null==e?e:{transactions:e.transactions.map(a.TransactionDetailFromJSON),server_knowledge:e.server_knowledge}}t.instanceOfTransactionsResponseData=function(e){return"transactions"in e&&void 0!==e.transactions&&"server_knowledge"in e&&void 0!==e.server_knowledge},t.TransactionsResponseDataFromJSON=function(e){return o(e)},t.TransactionsResponseDataFromJSONTyped=o,t.TransactionsResponseDataToJSON=function(e){return null==e?e:{transactions:e.transactions.map(a.TransactionDetailToJSON),server_knowledge:e.server_knowledge}}},6381:(e,t)=>{"use strict";function n(e,t){return null==e?e:{id:e.id}}Object.defineProperty(t,"__esModule",{value:!0}),t.UserToJSON=t.UserFromJSONTyped=t.UserFromJSON=t.instanceOfUser=void 0,t.instanceOfUser=function(e){return"id"in e&&void 0!==e.id},t.UserFromJSON=function(e){return n(e)},t.UserFromJSONTyped=n,t.UserToJSON=function(e){return null==e?e:{id:e.id}}},2254:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UserResponseToJSON=t.UserResponseFromJSONTyped=t.UserResponseFromJSON=t.instanceOfUserResponse=void 0;const a=n(8045);function o(e,t){return null==e?e:{data:(0,a.UserResponseDataFromJSON)(e.data)}}t.instanceOfUserResponse=function(e){return"data"in e&&void 0!==e.data},t.UserResponseFromJSON=function(e){return o(e)},t.UserResponseFromJSONTyped=o,t.UserResponseToJSON=function(e){return null==e?e:{data:(0,a.UserResponseDataToJSON)(e.data)}}},8045:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UserResponseDataToJSON=t.UserResponseDataFromJSONTyped=t.UserResponseDataFromJSON=t.instanceOfUserResponseData=void 0;const a=n(6381);function o(e,t){return null==e?e:{user:(0,a.UserFromJSON)(e.user)}}t.instanceOfUserResponseData=function(e){return"user"in e&&void 0!==e.user},t.UserResponseDataFromJSON=function(e){return o(e)},t.UserResponseDataFromJSONTyped=o,t.UserResponseDataToJSON=function(e){return null==e?e:{user:(0,a.UserToJSON)(e.user)}}},7115:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,a,o)}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||a(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(8374),t),o(n(8121),t),o(n(3940),t),o(n(809),t),o(n(5102),t),o(n(8351),t),o(n(9522),t),o(n(7371),t),o(n(5499),t),o(n(2656),t),o(n(5048),t),o(n(1994),t),o(n(6052),t),o(n(8071),t),o(n(8130),t),o(n(1462),t),o(n(8270),t),o(n(9235),t),o(n(4618),t),o(n(7464),t),o(n(5021),t),o(n(7781),t),o(n(9988),t),o(n(5769),t),o(n(2466),t),o(n(823),t),o(n(5170),t),o(n(7890),t),o(n(3084),t),o(n(1737),t),o(n(5195),t),o(n(4628),t),o(n(6603),t),o(n(6269),t),o(n(7069),t),o(n(4972),t),o(n(6420),t),o(n(7059),t),o(n(5484),t),o(n(3842),t),o(n(6024),t),o(n(4077),t),o(n(3497),t),o(n(3877),t),o(n(3801),t),o(n(3572),t),o(n(1893),t),o(n(6250),t),o(n(4076),t),o(n(1553),t),o(n(7453),t),o(n(8281),t),o(n(9659),t),o(n(9395),t),o(n(5144),t),o(n(3306),t),o(n(7475),t),o(n(9429),t),o(n(4032),t),o(n(8463),t),o(n(6702),t),o(n(8546),t),o(n(6798),t),o(n(238),t),o(n(6039),t),o(n(3738),t),o(n(1467),t),o(n(3006),t),o(n(9503),t),o(n(82),t),o(n(1962),t),o(n(4350),t),o(n(8204),t),o(n(5695),t),o(n(4795),t),o(n(5581),t),o(n(166),t),o(n(3686),t),o(n(4396),t),o(n(2451),t),o(n(3109),t),o(n(7521),t),o(n(4839),t),o(n(8687),t),o(n(6999),t),o(n(7992),t),o(n(1559),t),o(n(6661),t),o(n(2181),t),o(n(4691),t),o(n(7530),t),o(n(7010),t),o(n(6381),t),o(n(2254),t),o(n(8045),t)},5948:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.TextApiResponse=t.BlobApiResponse=t.VoidApiResponse=t.JSONApiResponse=t.canConsumeForm=t.mapValues=t.querystring=t.exists=t.COLLECTION_FORMATS=t.RequiredError=t.FetchError=t.ResponseError=t.BaseAPI=t.DefaultConfig=t.Configuration=t.BASE_PATH=void 0;const o=(0,a(n(7559)).default)();globalThis.fetch||(globalThis.fetch=o.fetch,globalThis.Response=o.Response,globalThis.Headers=o.Headers,globalThis.Request=o.Request),t.BASE_PATH="https://api.ynab.com/v1".replace(/\/+$/,"");class r{constructor(e={}){this.configuration=e}set config(e){this.configuration=e}get basePath(){return null!=this.configuration.basePath?this.configuration.basePath:t.BASE_PATH}get fetchApi(){return this.configuration.fetchApi}get middleware(){return this.configuration.middleware||[]}get queryParamsStringify(){return this.configuration.queryParamsStringify||u}get username(){return this.configuration.username}get password(){return this.configuration.password}get apiKey(){const e=this.configuration.apiKey;if(e)return"function"==typeof e?e:()=>e}get accessToken(){const e=this.configuration.accessToken;if(e)return"function"==typeof e?e:async()=>e}get headers(){return this.configuration.headers}get credentials(){return this.configuration.credentials}}t.Configuration=r,t.DefaultConfig=new r;class i{constructor(e=t.DefaultConfig){this.configuration=e,this.fetchApi=async(e,t)=>{let n,a={url:e,init:t};for(const e of this.middleware)e.pre&&(a=await e.pre({fetch:this.fetchApi,...a})||a);try{n=await(this.configuration.fetchApi||fetch)(a.url,a.init)}catch(e){for(const t of this.middleware)t.onError&&(n=await t.onError({fetch:this.fetchApi,url:a.url,init:a.init,error:e,response:n?n.clone():void 0})||n);if(void 0===n)throw e instanceof Error?new d(e,"The request failed and the interceptors did not return an alternative response"):e}for(const e of this.middleware)e.post&&(n=await e.post({fetch:this.fetchApi,url:a.url,init:a.init,response:n.clone()})||n);return n},this.middleware=e.middleware}withMiddleware(...e){const t=this.clone();return t.middleware=t.middleware.concat(...e),t}withPreMiddleware(...e){const t=e.map((e=>({pre:e})));return this.withMiddleware(...t)}withPostMiddleware(...e){const t=e.map((e=>({post:e})));return this.withMiddleware(...t)}isJsonMime(e){return!!e&&i.jsonRegex.test(e)}async request(e,t){const{url:n,init:a}=await this.createFetchParams(e,t),o=await this.fetchApi(n,a);if(o&&o.status>=200&&o.status<300)return o;throw await o.json()}async createFetchParams(e,t){let n=this.configuration.basePath+e.path;void 0!==e.query&&0!==Object.keys(e.query).length&&(n+="?"+this.configuration.queryParamsStringify(e.query));const a=Object.assign({},this.configuration.headers,e.headers);Object.keys(a).forEach((e=>void 0===a[e]?delete a[e]:{}));const o="function"==typeof t?t:async()=>t,r={method:e.method,headers:a,body:e.body,credentials:this.configuration.credentials},i={...r,...await o({init:r,context:e})};let s;var d;return d=i.body,s="undefined"!=typeof FormData&&d instanceof FormData||i.body instanceof URLSearchParams||function(e){return"undefined"!=typeof Blob&&e instanceof Blob}(i.body)?i.body:this.isJsonMime(a["Content-Type"])?JSON.stringify(i.body):i.body,{url:n,init:{...i,body:s}}}clone(){const e=new(0,this.constructor)(this.configuration);return e.middleware=this.middleware.slice(),e}}t.BaseAPI=i,i.jsonRegex=new RegExp("^(:?application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(:?;.*)?$","i");class s extends Error{constructor(e,t){super(t),this.response=e,this.name="ResponseError"}}t.ResponseError=s;class d extends Error{constructor(e,t){super(t),this.cause=e,this.name="FetchError"}}t.FetchError=d;class c extends Error{constructor(e,t){super(t),this.field=e,this.name="RequiredError"}}function u(e,t=""){return Object.keys(e).map((n=>l(n,e[n],t))).filter((e=>e.length>0)).join("&")}function l(e,t,n=""){const a=n+(n.length?`[${e}]`:e);if(t instanceof Array){const e=t.map((e=>encodeURIComponent(String(e)))).join(`&${encodeURIComponent(a)}=`);return`${encodeURIComponent(a)}=${e}`}return t instanceof Set?l(e,Array.from(t),n):t instanceof Date?`${encodeURIComponent(a)}=${encodeURIComponent(t.toISOString())}`:t instanceof Object?u(t,a):`${encodeURIComponent(a)}=${encodeURIComponent(String(t))}`}t.RequiredError=c,t.COLLECTION_FORMATS={csv:",",ssv:" ",tsv:"\t",pipes:"|"},t.exists=function(e,t){return null!=e[t]},t.querystring=u,t.mapValues=function(e,t){return Object.keys(e).reduce(((n,a)=>({...n,[a]:t(e[a])})),{})},t.canConsumeForm=function(e){for(const t of e)if("multipart/form-data"===t.contentType)return!0;return!1},t.JSONApiResponse=class{constructor(e,t=(e=>e)){this.raw=e,this.transformer=t}async value(){return this.transformer(await this.raw.json())}},t.VoidApiResponse=class{constructor(e){this.raw=e}async value(){}},t.BlobApiResponse=class{constructor(e){this.raw=e}async value(){return await this.raw.blob()}},t.TextApiResponse=class{constructor(e){this.raw=e}async value(){return await this.raw.text()}}},679:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={getCurrentMonthInISOFormat(){return`${this.getCurrentDateInISOFormat().substr(0,7)}-01`},getCurrentDateInISOFormat(){let e=new Date;return new Date(e.getTime()-6e4*e.getTimezoneOffset()).toISOString()},convertFromISODateString:e=>new Date(new Date(e)),convertMilliUnitsToCurrencyAmount(e,t=2){let n=Math.pow(10,3-Math.min(3,t));n=1/n;let a=Math.round(e*n)/n*(.1/Math.pow(10,2));return Number(a.toFixed(t))}}}},t={};function n(a){var o=t[a];if(void 0!==o)return o.exports;var r=t[a]={exports:{}};return e[a].call(r.exports,r,r.exports,n),r.exports}n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}();var a=n(3465);ynab=a})(); \ No newline at end of file diff --git a/dist/esm/runtime.d.ts b/dist/esm/runtime.d.ts index 42f96b7..65443f0 100644 --- a/dist/esm/runtime.d.ts +++ b/dist/esm/runtime.d.ts @@ -42,8 +42,8 @@ export declare class BaseAPI { private middleware; constructor(configuration?: Configuration); withMiddleware(this: T, ...middlewares: Middleware[]): T; - withPreMiddleware(this: T, ...preMiddlewares: Array): T; - withPostMiddleware(this: T, ...postMiddlewares: Array): T; + withPreMiddleware(this: T, ...preMiddlewares: Array): T; + withPostMiddleware(this: T, ...postMiddlewares: Array): T; /** * Check if the given MIME is a JSON MIME. * JSON MIME examples: @@ -85,9 +85,9 @@ export declare const COLLECTION_FORMATS: { tsv: string; pipes: string; }; -export type FetchAPI = WindowOrWorkerGlobalScope['fetch']; +export type FetchAPI = WindowOrWorkerGlobalScope["fetch"]; export type Json = any; -export type HTTPMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'OPTIONS' | 'HEAD'; +export type HTTPMethod = "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS" | "HEAD"; export type HTTPHeaders = { [key: string]: string; }; @@ -101,7 +101,7 @@ export type HTTPRequestInit = { credentials?: RequestCredentials; body?: HTTPBody; }; -export type ModelPropertyNaming = 'camelCase' | 'snake_case' | 'PascalCase' | 'original'; +export type ModelPropertyNaming = "camelCase" | "snake_case" | "PascalCase" | "original"; export type InitOverrideFunction = (requestContext: { init: HTTPRequestInit; context: RequestOpts; diff --git a/dist/esm/runtime.js b/dist/esm/runtime.js index 658705c..6128504 100644 --- a/dist/esm/runtime.js +++ b/dist/esm/runtime.js @@ -68,13 +68,14 @@ var __generator = (this && this.__generator) || function (thisArg, body) { if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; } }; +import fetchPonyfill from "fetch-ponyfill"; // Polyfill fetch globally - this makes it easier to override with modules like fetch-mock. -var fetchPonyfill = require("fetch-ponyfill")(); +var fetchPonyfillInstance = fetchPonyfill(); if (!globalThis.fetch) { - globalThis.fetch = fetchPonyfill.fetch; - globalThis.Response = fetchPonyfill.Response; - globalThis.Headers = fetchPonyfill.Headers; - globalThis.Request = fetchPonyfill.Request; + globalThis.fetch = fetchPonyfillInstance.fetch; + globalThis.Response = fetchPonyfillInstance.Response; + globalThis.Headers = fetchPonyfillInstance.Headers; + globalThis.Request = fetchPonyfillInstance.Request; } export var BASE_PATH = "https://api.ynab.com/v1".replace(/\/+$/, ""); var Configuration = /** @class */ (function () { @@ -91,7 +92,9 @@ var Configuration = /** @class */ (function () { }); Object.defineProperty(Configuration.prototype, "basePath", { get: function () { - return this.configuration.basePath != null ? this.configuration.basePath : BASE_PATH; + return this.configuration.basePath != null + ? this.configuration.basePath + : BASE_PATH; }, enumerable: false, configurable: true @@ -135,7 +138,7 @@ var Configuration = /** @class */ (function () { get: function () { var apiKey = this.configuration.apiKey; if (apiKey) { - return typeof apiKey === 'function' ? apiKey : function () { return apiKey; }; + return typeof apiKey === "function" ? apiKey : function () { return apiKey; }; } return undefined; }, @@ -147,9 +150,11 @@ var Configuration = /** @class */ (function () { var _this = this; var accessToken = this.configuration.accessToken; if (accessToken) { - return typeof accessToken === 'function' ? accessToken : function () { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) { - return [2 /*return*/, accessToken]; - }); }); }; + return typeof accessToken === "function" + ? accessToken + : function () { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) { + return [2 /*return*/, accessToken]; + }); }); }; } return undefined; }, @@ -196,7 +201,8 @@ var BaseAPI = /** @class */ (function () { if (!middleware.pre) return [3 /*break*/, 3]; return [4 /*yield*/, middleware.pre(__assign({ fetch: this.fetchApi }, fetchParams))]; case 2: - fetchParams = (_f.sent()) || fetchParams; + fetchParams = + (_f.sent()) || fetchParams; _f.label = 3; case 3: _i++; @@ -226,7 +232,8 @@ var BaseAPI = /** @class */ (function () { response: response ? response.clone() : undefined, })]; case 9: - response = (_f.sent()) || response; + response = + (_f.sent()) || response; _f.label = 10; case 10: _b++; @@ -234,7 +241,7 @@ var BaseAPI = /** @class */ (function () { case 11: if (response === undefined) { if (e_1 instanceof Error) { - throw new FetchError(e_1, 'The request failed and the interceptors did not return an alternative response'); + throw new FetchError(e_1, "The request failed and the interceptors did not return an alternative response"); } else { throw e_1; @@ -255,7 +262,8 @@ var BaseAPI = /** @class */ (function () { response: response.clone(), })]; case 14: - response = (_f.sent()) || response; + response = + (_f.sent()) || response; _f.label = 15; case 15: _d++; @@ -319,7 +327,7 @@ var BaseAPI = /** @class */ (function () { return [4 /*yield*/, this.fetchApi(url, init)]; case 2: response = _b.sent(); - if (!(response && (response.status >= 200 && response.status < 300))) return [3 /*break*/, 3]; + if (!(response && response.status >= 200 && response.status < 300)) return [3 /*break*/, 3]; return [2 /*return*/, response]; case 3: return [4 /*yield*/, response.json()]; case 4: throw _b.sent(); @@ -335,14 +343,17 @@ var BaseAPI = /** @class */ (function () { switch (_b.label) { case 0: url = this.configuration.basePath + context.path; - if (context.query !== undefined && Object.keys(context.query).length !== 0) { + if (context.query !== undefined && + Object.keys(context.query).length !== 0) { // only add the querystring to the URL if there are query parameters. // this is done to avoid urls ending with a "?" character which buggy webservers // do not handle correctly sometimes. - url += '?' + this.configuration.queryParamsStringify(context.query); + url += "?" + this.configuration.queryParamsStringify(context.query); } headers = Object.assign({}, this.configuration.headers, context.headers); - Object.keys(headers).forEach(function (key) { return headers[key] === undefined ? delete headers[key] : {}; }); + Object.keys(headers).forEach(function (key) { + return headers[key] === undefined ? delete headers[key] : {}; + }); initOverrideFn = typeof initOverrides === "function" ? initOverrides : function () { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) { @@ -361,12 +372,12 @@ var BaseAPI = /** @class */ (function () { })]; case 1: overriddenInit = __assign.apply(void 0, _a.concat([(_b.sent())])); - if (isFormData(overriddenInit.body) - || (overriddenInit.body instanceof URLSearchParams) - || isBlob(overriddenInit.body)) { + if (isFormData(overriddenInit.body) || + overriddenInit.body instanceof URLSearchParams || + isBlob(overriddenInit.body)) { body = overriddenInit.body; } - else if (this.isJsonMime(headers['Content-Type'])) { + else if (this.isJsonMime(headers["Content-Type"])) { body = JSON.stringify(overriddenInit.body); } else { @@ -388,13 +399,12 @@ var BaseAPI = /** @class */ (function () { next.middleware = this.middleware.slice(); return next; }; - BaseAPI.jsonRegex = new RegExp('^(:?application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(:?;.*)?$', 'i'); + BaseAPI.jsonRegex = new RegExp("^(:?application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(:?;.*)?$", "i"); return BaseAPI; }()); export { BaseAPI }; -; function isBlob(value) { - return typeof Blob !== 'undefined' && value instanceof Blob; + return typeof Blob !== "undefined" && value instanceof Blob; } function isFormData(value) { return typeof FormData !== "undefined" && value instanceof FormData; @@ -443,17 +453,18 @@ export function exists(json, key) { return value !== null && value !== undefined; } export function querystring(params, prefix) { - if (prefix === void 0) { prefix = ''; } + if (prefix === void 0) { prefix = ""; } return Object.keys(params) .map(function (key) { return querystringSingleKey(key, params[key], prefix); }) .filter(function (part) { return part.length > 0; }) - .join('&'); + .join("&"); } function querystringSingleKey(key, value, keyPrefix) { - if (keyPrefix === void 0) { keyPrefix = ''; } + if (keyPrefix === void 0) { keyPrefix = ""; } var fullKey = keyPrefix + (keyPrefix.length ? "[".concat(key, "]") : key); if (value instanceof Array) { - var multiValue = value.map(function (singleValue) { return encodeURIComponent(String(singleValue)); }) + var multiValue = value + .map(function (singleValue) { return encodeURIComponent(String(singleValue)); }) .join("&".concat(encodeURIComponent(fullKey), "=")); return "".concat(encodeURIComponent(fullKey), "=").concat(multiValue); } @@ -478,7 +489,7 @@ export function mapValues(data, fn) { export function canConsumeForm(consumes) { for (var _i = 0, consumes_1 = consumes; _i < consumes_1.length; _i++) { var consume = consumes_1[_i]; - if ('multipart/form-data' === consume.contentType) { + if ("multipart/form-data" === consume.contentType) { return true; } } @@ -534,7 +545,6 @@ var BlobApiResponse = /** @class */ (function () { }); }); }; - ; return BlobApiResponse; }()); export { BlobApiResponse }; @@ -552,7 +562,6 @@ var TextApiResponse = /** @class */ (function () { }); }); }; - ; return TextApiResponse; }()); export { TextApiResponse }; diff --git a/dist/index.js b/dist/index.js index d23b101..2a9ba8a 100644 --- a/dist/index.js +++ b/dist/index.js @@ -11,14 +11,29 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi if (k2 === undefined) k2 = k; o[k2] = m[k]; })); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; var __exportStar = (this && this.__exportStar) || function(m, exports) { for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); }; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; Object.defineProperty(exports, "__esModule", { value: true }); exports.api = exports.utils = exports.API = void 0; -const apis = require("./apis"); +const apis = __importStar(require("./apis")); const CustomTransactionsApi_1 = require("./apis/CustomTransactionsApi"); -const utils_1 = require("./utils"); +const utils_1 = __importDefault(require("./utils")); exports.utils = utils_1.default; const runtime_1 = require("./runtime"); /* eslint-disable */ diff --git a/dist/runtime.d.ts b/dist/runtime.d.ts index 42f96b7..65443f0 100644 --- a/dist/runtime.d.ts +++ b/dist/runtime.d.ts @@ -42,8 +42,8 @@ export declare class BaseAPI { private middleware; constructor(configuration?: Configuration); withMiddleware(this: T, ...middlewares: Middleware[]): T; - withPreMiddleware(this: T, ...preMiddlewares: Array): T; - withPostMiddleware(this: T, ...postMiddlewares: Array): T; + withPreMiddleware(this: T, ...preMiddlewares: Array): T; + withPostMiddleware(this: T, ...postMiddlewares: Array): T; /** * Check if the given MIME is a JSON MIME. * JSON MIME examples: @@ -85,9 +85,9 @@ export declare const COLLECTION_FORMATS: { tsv: string; pipes: string; }; -export type FetchAPI = WindowOrWorkerGlobalScope['fetch']; +export type FetchAPI = WindowOrWorkerGlobalScope["fetch"]; export type Json = any; -export type HTTPMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'OPTIONS' | 'HEAD'; +export type HTTPMethod = "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS" | "HEAD"; export type HTTPHeaders = { [key: string]: string; }; @@ -101,7 +101,7 @@ export type HTTPRequestInit = { credentials?: RequestCredentials; body?: HTTPBody; }; -export type ModelPropertyNaming = 'camelCase' | 'snake_case' | 'PascalCase' | 'original'; +export type ModelPropertyNaming = "camelCase" | "snake_case" | "PascalCase" | "original"; export type InitOverrideFunction = (requestContext: { init: HTTPRequestInit; context: RequestOpts; diff --git a/dist/runtime.js b/dist/runtime.js index 0fe68c5..bbd6a5c 100644 --- a/dist/runtime.js +++ b/dist/runtime.js @@ -7,15 +7,19 @@ * * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; Object.defineProperty(exports, "__esModule", { value: true }); exports.TextApiResponse = exports.BlobApiResponse = exports.VoidApiResponse = exports.JSONApiResponse = exports.canConsumeForm = exports.mapValues = exports.querystring = exports.exists = exports.COLLECTION_FORMATS = exports.RequiredError = exports.FetchError = exports.ResponseError = exports.BaseAPI = exports.DefaultConfig = exports.Configuration = exports.BASE_PATH = void 0; +const fetch_ponyfill_1 = __importDefault(require("fetch-ponyfill")); // Polyfill fetch globally - this makes it easier to override with modules like fetch-mock. -const fetchPonyfill = require("fetch-ponyfill")(); +const fetchPonyfillInstance = (0, fetch_ponyfill_1.default)(); if (!globalThis.fetch) { - globalThis.fetch = fetchPonyfill.fetch; - globalThis.Response = fetchPonyfill.Response; - globalThis.Headers = fetchPonyfill.Headers; - globalThis.Request = fetchPonyfill.Request; + globalThis.fetch = fetchPonyfillInstance.fetch; + globalThis.Response = fetchPonyfillInstance.Response; + globalThis.Headers = fetchPonyfillInstance.Headers; + globalThis.Request = fetchPonyfillInstance.Request; } exports.BASE_PATH = "https://api.ynab.com/v1".replace(/\/+$/, ""); class Configuration { @@ -26,7 +30,9 @@ class Configuration { this.configuration = configuration; } get basePath() { - return this.configuration.basePath != null ? this.configuration.basePath : exports.BASE_PATH; + return this.configuration.basePath != null + ? this.configuration.basePath + : exports.BASE_PATH; } get fetchApi() { return this.configuration.fetchApi; @@ -46,14 +52,16 @@ class Configuration { get apiKey() { const apiKey = this.configuration.apiKey; if (apiKey) { - return typeof apiKey === 'function' ? apiKey : () => apiKey; + return typeof apiKey === "function" ? apiKey : () => apiKey; } return undefined; } get accessToken() { const accessToken = this.configuration.accessToken; if (accessToken) { - return typeof accessToken === 'function' ? accessToken : async () => accessToken; + return typeof accessToken === "function" + ? accessToken + : async () => accessToken; } return undefined; } @@ -76,10 +84,11 @@ class BaseAPI { let fetchParams = { url, init }; for (const middleware of this.middleware) { if (middleware.pre) { - fetchParams = await middleware.pre({ - fetch: this.fetchApi, - ...fetchParams, - }) || fetchParams; + fetchParams = + (await middleware.pre({ + fetch: this.fetchApi, + ...fetchParams, + })) || fetchParams; } } let response = undefined; @@ -89,18 +98,19 @@ class BaseAPI { catch (e) { for (const middleware of this.middleware) { if (middleware.onError) { - response = await middleware.onError({ - fetch: this.fetchApi, - url: fetchParams.url, - init: fetchParams.init, - error: e, - response: response ? response.clone() : undefined, - }) || response; + response = + (await middleware.onError({ + fetch: this.fetchApi, + url: fetchParams.url, + init: fetchParams.init, + error: e, + response: response ? response.clone() : undefined, + })) || response; } } if (response === undefined) { if (e instanceof Error) { - throw new FetchError(e, 'The request failed and the interceptors did not return an alternative response'); + throw new FetchError(e, "The request failed and the interceptors did not return an alternative response"); } else { throw e; @@ -109,12 +119,13 @@ class BaseAPI { } for (const middleware of this.middleware) { if (middleware.post) { - response = await middleware.post({ - fetch: this.fetchApi, - url: fetchParams.url, - init: fetchParams.init, - response: response.clone(), - }) || response; + response = + (await middleware.post({ + fetch: this.fetchApi, + url: fetchParams.url, + init: fetchParams.init, + response: response.clone(), + })) || response; } } return response; @@ -153,7 +164,7 @@ class BaseAPI { async request(context, initOverrides) { const { url, init } = await this.createFetchParams(context, initOverrides); const response = await this.fetchApi(url, init); - if (response && (response.status >= 200 && response.status < 300)) { + if (response && response.status >= 200 && response.status < 300) { return response; } else { @@ -162,14 +173,15 @@ class BaseAPI { } async createFetchParams(context, initOverrides) { let url = this.configuration.basePath + context.path; - if (context.query !== undefined && Object.keys(context.query).length !== 0) { + if (context.query !== undefined && + Object.keys(context.query).length !== 0) { // only add the querystring to the URL if there are query parameters. // this is done to avoid urls ending with a "?" character which buggy webservers // do not handle correctly sometimes. - url += '?' + this.configuration.queryParamsStringify(context.query); + url += "?" + this.configuration.queryParamsStringify(context.query); } const headers = Object.assign({}, this.configuration.headers, context.headers); - Object.keys(headers).forEach(key => headers[key] === undefined ? delete headers[key] : {}); + Object.keys(headers).forEach((key) => headers[key] === undefined ? delete headers[key] : {}); const initOverrideFn = typeof initOverrides === "function" ? initOverrides : async () => initOverrides; @@ -184,15 +196,15 @@ class BaseAPI { ...(await initOverrideFn({ init: initParams, context, - })) + })), }; let body; - if (isFormData(overriddenInit.body) - || (overriddenInit.body instanceof URLSearchParams) - || isBlob(overriddenInit.body)) { + if (isFormData(overriddenInit.body) || + overriddenInit.body instanceof URLSearchParams || + isBlob(overriddenInit.body)) { body = overriddenInit.body; } - else if (this.isJsonMime(headers['Content-Type'])) { + else if (this.isJsonMime(headers["Content-Type"])) { body = JSON.stringify(overriddenInit.body); } else { @@ -200,7 +212,7 @@ class BaseAPI { } const init = { ...overriddenInit, - body + body, }; return { url, init }; } @@ -216,10 +228,9 @@ class BaseAPI { } } exports.BaseAPI = BaseAPI; -BaseAPI.jsonRegex = new RegExp('^(:?application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(:?;.*)?$', 'i'); -; +BaseAPI.jsonRegex = new RegExp("^(:?application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(:?;.*)?$", "i"); function isBlob(value) { - return typeof Blob !== 'undefined' && value instanceof Blob; + return typeof Blob !== "undefined" && value instanceof Blob; } function isFormData(value) { return typeof FormData !== "undefined" && value instanceof FormData; @@ -259,17 +270,18 @@ function exists(json, key) { return value !== null && value !== undefined; } exports.exists = exists; -function querystring(params, prefix = '') { +function querystring(params, prefix = "") { return Object.keys(params) - .map(key => querystringSingleKey(key, params[key], prefix)) - .filter(part => part.length > 0) - .join('&'); + .map((key) => querystringSingleKey(key, params[key], prefix)) + .filter((part) => part.length > 0) + .join("&"); } exports.querystring = querystring; -function querystringSingleKey(key, value, keyPrefix = '') { +function querystringSingleKey(key, value, keyPrefix = "") { const fullKey = keyPrefix + (keyPrefix.length ? `[${key}]` : key); if (value instanceof Array) { - const multiValue = value.map(singleValue => encodeURIComponent(String(singleValue))) + const multiValue = value + .map((singleValue) => encodeURIComponent(String(singleValue))) .join(`&${encodeURIComponent(fullKey)}=`); return `${encodeURIComponent(fullKey)}=${multiValue}`; } @@ -291,7 +303,7 @@ function mapValues(data, fn) { exports.mapValues = mapValues; function canConsumeForm(consumes) { for (const consume of consumes) { - if ('multipart/form-data' === consume.contentType) { + if ("multipart/form-data" === consume.contentType) { return true; } } @@ -324,7 +336,6 @@ class BlobApiResponse { async value() { return await this.raw.blob(); } - ; } exports.BlobApiResponse = BlobApiResponse; class TextApiResponse { @@ -334,6 +345,5 @@ class TextApiResponse { async value() { return await this.raw.text(); } - ; } exports.TextApiResponse = TextApiResponse; diff --git a/src/runtime.ts b/src/runtime.ts index 222bb01..063eba7 100644 --- a/src/runtime.ts +++ b/src/runtime.ts @@ -7,85 +7,95 @@ * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ +import fetchPonyfill from "fetch-ponyfill"; // Polyfill fetch globally - this makes it easier to override with modules like fetch-mock. -const fetchPonyfill = require("fetch-ponyfill")(); +const fetchPonyfillInstance = fetchPonyfill(); if (!globalThis.fetch) { - globalThis.fetch = fetchPonyfill.fetch; - globalThis.Response = fetchPonyfill.Response; - globalThis.Headers = fetchPonyfill.Headers; - globalThis.Request = fetchPonyfill.Request; + globalThis.fetch = fetchPonyfillInstance.fetch; + globalThis.Response = fetchPonyfillInstance.Response; + globalThis.Headers = fetchPonyfillInstance.Headers; + globalThis.Request = fetchPonyfillInstance.Request; } export const BASE_PATH = "https://api.ynab.com/v1".replace(/\/+$/, ""); export interface ConfigurationParameters { - basePath?: string; // override base path - fetchApi?: FetchAPI; // override for fetch implementation - middleware?: Middleware[]; // middleware to apply before/after fetch requests - queryParamsStringify?: (params: HTTPQuery) => string; // stringify function for query strings - username?: string; // parameter for basic security - password?: string; // parameter for basic security - apiKey?: string | ((name: string) => string); // parameter for apiKey security - accessToken?: string | Promise | ((name?: string, scopes?: string[]) => string | Promise); // parameter for oauth2 security - headers?: HTTPHeaders; //header params we want to use on every request - credentials?: RequestCredentials; //value for the credentials param we want to use on each request + basePath?: string; // override base path + fetchApi?: FetchAPI; // override for fetch implementation + middleware?: Middleware[]; // middleware to apply before/after fetch requests + queryParamsStringify?: (params: HTTPQuery) => string; // stringify function for query strings + username?: string; // parameter for basic security + password?: string; // parameter for basic security + apiKey?: string | ((name: string) => string); // parameter for apiKey security + accessToken?: + | string + | Promise + | ((name?: string, scopes?: string[]) => string | Promise); // parameter for oauth2 security + headers?: HTTPHeaders; //header params we want to use on every request + credentials?: RequestCredentials; //value for the credentials param we want to use on each request } export class Configuration { - constructor(private configuration: ConfigurationParameters = {}) {} - - set config(configuration: Configuration) { - this.configuration = configuration; - } - - get basePath(): string { - return this.configuration.basePath != null ? this.configuration.basePath : BASE_PATH; - } - - get fetchApi(): FetchAPI | undefined { - return this.configuration.fetchApi; - } - - get middleware(): Middleware[] { - return this.configuration.middleware || []; - } - - get queryParamsStringify(): (params: HTTPQuery) => string { - return this.configuration.queryParamsStringify || querystring; - } - - get username(): string | undefined { - return this.configuration.username; - } - - get password(): string | undefined { - return this.configuration.password; - } - - get apiKey(): ((name: string) => string) | undefined { - const apiKey = this.configuration.apiKey; - if (apiKey) { - return typeof apiKey === 'function' ? apiKey : () => apiKey; - } - return undefined; + constructor(private configuration: ConfigurationParameters = {}) {} + + set config(configuration: Configuration) { + this.configuration = configuration; + } + + get basePath(): string { + return this.configuration.basePath != null + ? this.configuration.basePath + : BASE_PATH; + } + + get fetchApi(): FetchAPI | undefined { + return this.configuration.fetchApi; + } + + get middleware(): Middleware[] { + return this.configuration.middleware || []; + } + + get queryParamsStringify(): (params: HTTPQuery) => string { + return this.configuration.queryParamsStringify || querystring; + } + + get username(): string | undefined { + return this.configuration.username; + } + + get password(): string | undefined { + return this.configuration.password; + } + + get apiKey(): ((name: string) => string) | undefined { + const apiKey = this.configuration.apiKey; + if (apiKey) { + return typeof apiKey === "function" ? apiKey : () => apiKey; } - - get accessToken(): ((name?: string, scopes?: string[]) => string | Promise) | undefined { - const accessToken = this.configuration.accessToken; - if (accessToken) { - return typeof accessToken === 'function' ? accessToken : async () => accessToken; - } - return undefined; + return undefined; + } + + get accessToken(): + | ((name?: string, scopes?: string[]) => string | Promise) + | undefined { + const accessToken = this.configuration.accessToken; + if (accessToken) { + return typeof accessToken === "function" + ? accessToken + : async () => accessToken; } + return undefined; + } - get headers(): HTTPHeaders | undefined { - return this.configuration.headers; - } + get headers(): HTTPHeaders | undefined { + return this.configuration.headers; + } - get credentials(): RequestCredentials | undefined { - return this.configuration.credentials; - } + get credentials(): RequestCredentials | undefined { + return this.configuration.credentials; + } } export const DefaultConfig = new Configuration(); @@ -94,257 +104,334 @@ export const DefaultConfig = new Configuration(); * This is the base class for all generated API classes. */ export class BaseAPI { - - private static readonly jsonRegex = new RegExp('^(:?application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(:?;.*)?$', 'i'); - private middleware: Middleware[]; - - constructor(protected configuration = DefaultConfig) { - this.middleware = configuration.middleware; + private static readonly jsonRegex = new RegExp( + "^(:?application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(:?;.*)?$", + "i" + ); + private middleware: Middleware[]; + + constructor(protected configuration = DefaultConfig) { + this.middleware = configuration.middleware; + } + + withMiddleware(this: T, ...middlewares: Middleware[]) { + const next = this.clone(); + next.middleware = next.middleware.concat(...middlewares); + return next; + } + + withPreMiddleware( + this: T, + ...preMiddlewares: Array + ) { + const middlewares = preMiddlewares.map((pre) => ({ pre })); + return this.withMiddleware(...middlewares); + } + + withPostMiddleware( + this: T, + ...postMiddlewares: Array + ) { + const middlewares = postMiddlewares.map((post) => ({ post })); + return this.withMiddleware(...middlewares); + } + + /** + * Check if the given MIME is a JSON MIME. + * JSON MIME examples: + * application/json + * application/json; charset=UTF8 + * APPLICATION/JSON + * application/vnd.company+json + * @param mime - MIME (Multipurpose Internet Mail Extensions) + * @return True if the given MIME is JSON, false otherwise. + */ + protected isJsonMime(mime: string | null | undefined): boolean { + if (!mime) { + return false; } - - withMiddleware(this: T, ...middlewares: Middleware[]) { - const next = this.clone(); - next.middleware = next.middleware.concat(...middlewares); - return next; + return BaseAPI.jsonRegex.test(mime); + } + + protected async request( + context: RequestOpts, + initOverrides?: RequestInit | InitOverrideFunction + ): Promise { + const { url, init } = await this.createFetchParams(context, initOverrides); + const response = await this.fetchApi(url, init); + if (response && response.status >= 200 && response.status < 300) { + return response; + } else { + throw await response.json(); } - - withPreMiddleware(this: T, ...preMiddlewares: Array) { - const middlewares = preMiddlewares.map((pre) => ({ pre })); - return this.withMiddleware(...middlewares); + } + + private async createFetchParams( + context: RequestOpts, + initOverrides?: RequestInit | InitOverrideFunction + ) { + let url = this.configuration.basePath + context.path; + if ( + context.query !== undefined && + Object.keys(context.query).length !== 0 + ) { + // only add the querystring to the URL if there are query parameters. + // this is done to avoid urls ending with a "?" character which buggy webservers + // do not handle correctly sometimes. + url += "?" + this.configuration.queryParamsStringify(context.query); } - withPostMiddleware(this: T, ...postMiddlewares: Array) { - const middlewares = postMiddlewares.map((post) => ({ post })); - return this.withMiddleware(...middlewares); - } + const headers = Object.assign( + {}, + this.configuration.headers, + context.headers + ); + Object.keys(headers).forEach((key) => + headers[key] === undefined ? delete headers[key] : {} + ); + + const initOverrideFn = + typeof initOverrides === "function" + ? initOverrides + : async () => initOverrides; + + const initParams = { + method: context.method, + headers, + body: context.body, + credentials: this.configuration.credentials, + }; - /** - * Check if the given MIME is a JSON MIME. - * JSON MIME examples: - * application/json - * application/json; charset=UTF8 - * APPLICATION/JSON - * application/vnd.company+json - * @param mime - MIME (Multipurpose Internet Mail Extensions) - * @return True if the given MIME is JSON, false otherwise. - */ - protected isJsonMime(mime: string | null | undefined): boolean { - if (!mime) { - return false; - } - return BaseAPI.jsonRegex.test(mime); - } + const overriddenInit: RequestInit = { + ...initParams, + ...(await initOverrideFn({ + init: initParams, + context, + })), + }; - protected async request(context: RequestOpts, initOverrides?: RequestInit | InitOverrideFunction): Promise { - const { url, init } = await this.createFetchParams(context, initOverrides); - const response = await this.fetchApi(url, init); - if (response && (response.status >= 200 && response.status < 300)) { - return response; - } else { - throw await response.json(); - } + let body: any; + if ( + isFormData(overriddenInit.body) || + overriddenInit.body instanceof URLSearchParams || + isBlob(overriddenInit.body) + ) { + body = overriddenInit.body; + } else if (this.isJsonMime(headers["Content-Type"])) { + body = JSON.stringify(overriddenInit.body); + } else { + body = overriddenInit.body; } - private async createFetchParams(context: RequestOpts, initOverrides?: RequestInit | InitOverrideFunction) { - let url = this.configuration.basePath + context.path; - if (context.query !== undefined && Object.keys(context.query).length !== 0) { - // only add the querystring to the URL if there are query parameters. - // this is done to avoid urls ending with a "?" character which buggy webservers - // do not handle correctly sometimes. - url += '?' + this.configuration.queryParamsStringify(context.query); - } - - const headers = Object.assign({}, this.configuration.headers, context.headers); - Object.keys(headers).forEach(key => headers[key] === undefined ? delete headers[key] : {}); - - const initOverrideFn = - typeof initOverrides === "function" - ? initOverrides - : async () => initOverrides; - - const initParams = { - method: context.method, - headers, - body: context.body, - credentials: this.configuration.credentials, - }; - - const overriddenInit: RequestInit = { - ...initParams, - ...(await initOverrideFn({ - init: initParams, - context, - })) - }; - - let body: any; - if (isFormData(overriddenInit.body) - || (overriddenInit.body instanceof URLSearchParams) - || isBlob(overriddenInit.body)) { - body = overriddenInit.body; - } else if (this.isJsonMime(headers['Content-Type'])) { - body = JSON.stringify(overriddenInit.body); - } else { - body = overriddenInit.body; - } - - const init: RequestInit = { - ...overriddenInit, - body - }; + const init: RequestInit = { + ...overriddenInit, + body, + }; - return { url, init }; + return { url, init }; + } + + private fetchApi = async (url: string, init: RequestInit) => { + let fetchParams = { url, init }; + for (const middleware of this.middleware) { + if (middleware.pre) { + fetchParams = + (await middleware.pre({ + fetch: this.fetchApi, + ...fetchParams, + })) || fetchParams; + } } - - private fetchApi = async (url: string, init: RequestInit) => { - let fetchParams = { url, init }; - for (const middleware of this.middleware) { - if (middleware.pre) { - fetchParams = await middleware.pre({ - fetch: this.fetchApi, - ...fetchParams, - }) || fetchParams; - } - } - let response: Response | undefined = undefined; - try { - response = await (this.configuration.fetchApi || fetch)(fetchParams.url, fetchParams.init); - } catch (e) { - for (const middleware of this.middleware) { - if (middleware.onError) { - response = await middleware.onError({ - fetch: this.fetchApi, - url: fetchParams.url, - init: fetchParams.init, - error: e, - response: response ? response.clone() : undefined, - }) || response; - } - } - if (response === undefined) { - if (e instanceof Error) { - throw new FetchError(e, 'The request failed and the interceptors did not return an alternative response'); - } else { - throw e; - } - } + let response: Response | undefined = undefined; + try { + response = await (this.configuration.fetchApi || fetch)( + fetchParams.url, + fetchParams.init + ); + } catch (e) { + for (const middleware of this.middleware) { + if (middleware.onError) { + response = + (await middleware.onError({ + fetch: this.fetchApi, + url: fetchParams.url, + init: fetchParams.init, + error: e, + response: response ? response.clone() : undefined, + })) || response; } - for (const middleware of this.middleware) { - if (middleware.post) { - response = await middleware.post({ - fetch: this.fetchApi, - url: fetchParams.url, - init: fetchParams.init, - response: response.clone(), - }) || response; - } + } + if (response === undefined) { + if (e instanceof Error) { + throw new FetchError( + e, + "The request failed and the interceptors did not return an alternative response" + ); + } else { + throw e; } - return response; + } } - - /** - * Create a shallow clone of `this` by constructing a new instance - * and then shallow cloning data members. - */ - private clone(this: T): T { - const constructor = this.constructor as any; - const next = new constructor(this.configuration); - next.middleware = this.middleware.slice(); - return next; + for (const middleware of this.middleware) { + if (middleware.post) { + response = + (await middleware.post({ + fetch: this.fetchApi, + url: fetchParams.url, + init: fetchParams.init, + response: response.clone(), + })) || response; + } } -}; + return response; + }; + + /** + * Create a shallow clone of `this` by constructing a new instance + * and then shallow cloning data members. + */ + private clone(this: T): T { + const constructor = this.constructor as any; + const next = new constructor(this.configuration); + next.middleware = this.middleware.slice(); + return next; + } +} function isBlob(value: any): value is Blob { - return typeof Blob !== 'undefined' && value instanceof Blob; + return typeof Blob !== "undefined" && value instanceof Blob; } function isFormData(value: any): value is FormData { - return typeof FormData !== "undefined" && value instanceof FormData; + return typeof FormData !== "undefined" && value instanceof FormData; } export class ResponseError extends Error { - override name: "ResponseError" = "ResponseError"; - constructor(public response: Response, msg?: string) { - super(msg); - } + override name: "ResponseError" = "ResponseError"; + constructor(public response: Response, msg?: string) { + super(msg); + } } export class FetchError extends Error { - override name: "FetchError" = "FetchError"; - constructor(public cause: Error, msg?: string) { - super(msg); - } + override name: "FetchError" = "FetchError"; + constructor(public cause: Error, msg?: string) { + super(msg); + } } export class RequiredError extends Error { - override name: "RequiredError" = "RequiredError"; - constructor(public field: string, msg?: string) { - super(msg); - } + override name: "RequiredError" = "RequiredError"; + constructor(public field: string, msg?: string) { + super(msg); + } } export const COLLECTION_FORMATS = { - csv: ",", - ssv: " ", - tsv: "\t", - pipes: "|", + csv: ",", + ssv: " ", + tsv: "\t", + pipes: "|", }; -export type FetchAPI = WindowOrWorkerGlobalScope['fetch']; +export type FetchAPI = WindowOrWorkerGlobalScope["fetch"]; export type Json = any; -export type HTTPMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'OPTIONS' | 'HEAD'; +export type HTTPMethod = + | "GET" + | "POST" + | "PUT" + | "PATCH" + | "DELETE" + | "OPTIONS" + | "HEAD"; export type HTTPHeaders = { [key: string]: string }; -export type HTTPQuery = { [key: string]: string | number | null | boolean | Array | Set | HTTPQuery }; +export type HTTPQuery = { + [key: string]: + | string + | number + | null + | boolean + | Array + | Set + | HTTPQuery; +}; export type HTTPBody = Json | FormData | URLSearchParams; -export type HTTPRequestInit = { headers?: HTTPHeaders; method: HTTPMethod; credentials?: RequestCredentials; body?: HTTPBody }; -export type ModelPropertyNaming = 'camelCase' | 'snake_case' | 'PascalCase' | 'original'; +export type HTTPRequestInit = { + headers?: HTTPHeaders; + method: HTTPMethod; + credentials?: RequestCredentials; + body?: HTTPBody; +}; +export type ModelPropertyNaming = + | "camelCase" + | "snake_case" + | "PascalCase" + | "original"; -export type InitOverrideFunction = (requestContext: { init: HTTPRequestInit, context: RequestOpts }) => Promise +export type InitOverrideFunction = (requestContext: { + init: HTTPRequestInit; + context: RequestOpts; +}) => Promise; export interface FetchParams { - url: string; - init: RequestInit; + url: string; + init: RequestInit; } export interface RequestOpts { - path: string; - method: HTTPMethod; - headers: HTTPHeaders; - query?: HTTPQuery; - body?: HTTPBody; + path: string; + method: HTTPMethod; + headers: HTTPHeaders; + query?: HTTPQuery; + body?: HTTPBody; } export function exists(json: any, key: string) { - const value = json[key]; - return value !== null && value !== undefined; + const value = json[key]; + return value !== null && value !== undefined; } -export function querystring(params: HTTPQuery, prefix: string = ''): string { - return Object.keys(params) - .map(key => querystringSingleKey(key, params[key], prefix)) - .filter(part => part.length > 0) - .join('&'); +export function querystring(params: HTTPQuery, prefix: string = ""): string { + return Object.keys(params) + .map((key) => querystringSingleKey(key, params[key], prefix)) + .filter((part) => part.length > 0) + .join("&"); } -function querystringSingleKey(key: string, value: string | number | null | undefined | boolean | Array | Set | HTTPQuery, keyPrefix: string = ''): string { - const fullKey = keyPrefix + (keyPrefix.length ? `[${key}]` : key); - if (value instanceof Array) { - const multiValue = value.map(singleValue => encodeURIComponent(String(singleValue))) - .join(`&${encodeURIComponent(fullKey)}=`); - return `${encodeURIComponent(fullKey)}=${multiValue}`; - } - if (value instanceof Set) { - const valueAsArray = Array.from(value); - return querystringSingleKey(key, valueAsArray, keyPrefix); - } - if (value instanceof Date) { - return `${encodeURIComponent(fullKey)}=${encodeURIComponent(value.toISOString())}`; - } - if (value instanceof Object) { - return querystring(value as HTTPQuery, fullKey); - } - return `${encodeURIComponent(fullKey)}=${encodeURIComponent(String(value))}`; +function querystringSingleKey( + key: string, + value: + | string + | number + | null + | undefined + | boolean + | Array + | Set + | HTTPQuery, + keyPrefix: string = "" +): string { + const fullKey = keyPrefix + (keyPrefix.length ? `[${key}]` : key); + if (value instanceof Array) { + const multiValue = value + .map((singleValue) => encodeURIComponent(String(singleValue))) + .join(`&${encodeURIComponent(fullKey)}=`); + return `${encodeURIComponent(fullKey)}=${multiValue}`; + } + if (value instanceof Set) { + const valueAsArray = Array.from(value); + return querystringSingleKey(key, valueAsArray, keyPrefix); + } + if (value instanceof Date) { + return `${encodeURIComponent(fullKey)}=${encodeURIComponent( + value.toISOString() + )}`; + } + if (value instanceof Object) { + return querystring(value as HTTPQuery, fullKey); + } + return `${encodeURIComponent(fullKey)}=${encodeURIComponent(String(value))}`; } export function mapValues(data: any, fn: (item: any) => any) { @@ -355,82 +442,85 @@ export function mapValues(data: any, fn: (item: any) => any) { } export function canConsumeForm(consumes: Consume[]): boolean { - for (const consume of consumes) { - if ('multipart/form-data' === consume.contentType) { - return true; - } + for (const consume of consumes) { + if ("multipart/form-data" === consume.contentType) { + return true; } - return false; + } + return false; } export interface Consume { - contentType: string; + contentType: string; } export interface RequestContext { - fetch: FetchAPI; - url: string; - init: RequestInit; + fetch: FetchAPI; + url: string; + init: RequestInit; } export interface ResponseContext { - fetch: FetchAPI; - url: string; - init: RequestInit; - response: Response; + fetch: FetchAPI; + url: string; + init: RequestInit; + response: Response; } export interface ErrorContext { - fetch: FetchAPI; - url: string; - init: RequestInit; - error: unknown; - response?: Response; + fetch: FetchAPI; + url: string; + init: RequestInit; + error: unknown; + response?: Response; } export interface Middleware { - pre?(context: RequestContext): Promise; - post?(context: ResponseContext): Promise; - onError?(context: ErrorContext): Promise; + pre?(context: RequestContext): Promise; + post?(context: ResponseContext): Promise; + onError?(context: ErrorContext): Promise; } export interface ApiResponse { - raw: Response; - value(): Promise; + raw: Response; + value(): Promise; } export interface ResponseTransformer { - (json: any): T; + (json: any): T; } export class JSONApiResponse { - constructor(public raw: Response, private transformer: ResponseTransformer = (jsonValue: any) => jsonValue) {} - - async value(): Promise { - return this.transformer(await this.raw.json()); - } + constructor( + public raw: Response, + private transformer: ResponseTransformer = (jsonValue: any) => jsonValue + ) {} + + async value(): Promise { + return this.transformer(await this.raw.json()); + } } export class VoidApiResponse { - constructor(public raw: Response) {} + constructor(public raw: Response) {} - async value(): Promise { - return undefined; - } + async value(): Promise { + return undefined; + } } export class BlobApiResponse { - constructor(public raw: Response) {} + constructor(public raw: Response) {} - async value(): Promise { - return await this.raw.blob(); - }; + async value(): Promise { + return await this.raw.blob(); + } } export class TextApiResponse { - constructor(public raw: Response) {} + constructor(public raw: Response) {} - async value(): Promise { - return await this.raw.text(); - }; + async value(): Promise { + return await this.raw.text(); + } } diff --git a/src/tsconfig.esm.tsbuildinfo b/src/tsconfig.esm.tsbuildinfo index c962086..1e8de16 100644 --- a/src/tsconfig.esm.tsbuildinfo +++ b/src/tsconfig.esm.tsbuildinfo @@ -1 +1 @@ -{"program":{"fileNames":["../node_modules/typescript/lib/lib.d.ts","../node_modules/typescript/lib/lib.es5.d.ts","../node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/typescript/lib/lib.es2018.d.ts","../node_modules/typescript/lib/lib.dom.d.ts","../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../node_modules/typescript/lib/lib.scripthost.d.ts","../node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/typescript/lib/lib.es2017.date.d.ts","../node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../node_modules/typescript/lib/lib.es2018.intl.d.ts","../node_modules/typescript/lib/lib.es2018.promise.d.ts","../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../node_modules/typescript/lib/lib.es2020.intl.d.ts","../node_modules/typescript/lib/lib.esnext.intl.d.ts","../node_modules/typescript/lib/lib.decorators.d.ts","../node_modules/typescript/lib/lib.decorators.legacy.d.ts","./runtime.ts","./models/accounttype.ts","./models/account.ts","./models/accountresponsedata.ts","./models/accountresponse.ts","./models/accountsresponsedata.ts","./models/accountsresponse.ts","./models/payeelocation.ts","./models/transactionflagcolor.ts","./models/scheduledtransactionsummary.ts","./models/category.ts","./models/currencyformat.ts","./models/dateformat.ts","./models/subtransaction.ts","./models/monthdetail.ts","./models/payee.ts","./models/scheduledsubtransaction.ts","./models/transactionclearedstatus.ts","./models/transactionsummary.ts","./models/categorygroup.ts","./models/budgetdetail.ts","./models/budgetdetailresponsedata.ts","./models/budgetdetailresponse.ts","./models/budgetsettings.ts","./models/budgetsettingsresponsedata.ts","./models/budgetsettingsresponse.ts","./models/budgetsummary.ts","./models/budgetsummaryresponsedata.ts","./models/budgetsummaryresponse.ts","./models/bulkresponsedatabulk.ts","./models/bulkresponsedata.ts","./models/bulkresponse.ts","./models/savesubtransaction.ts","./models/savetransactionwithoptionalfields.ts","./models/bulktransactions.ts","./models/categorygroupwithcategories.ts","./models/categoriesresponsedata.ts","./models/categoriesresponse.ts","./models/categoryresponsedata.ts","./models/categoryresponse.ts","./models/errordetail.ts","./models/errorresponse.ts","./models/existingtransaction.ts","./models/hybridtransaction.ts","./models/hybridtransactionsresponsedata.ts","./models/hybridtransactionsresponse.ts","./models/monthdetailresponsedata.ts","./models/monthdetailresponse.ts","./models/monthsummary.ts","./models/monthsummariesresponsedata.ts","./models/monthsummariesresponse.ts","./models/newtransaction.ts","./models/savecategory.ts","./models/patchcategorywrapper.ts","./models/savemonthcategory.ts","./models/patchmonthcategorywrapper.ts","./models/savepayee.ts","./models/patchpayeewrapper.ts","./models/savetransactionwithidorimportid.ts","./models/patchtransactionswrapper.ts","./models/payeelocationresponsedata.ts","./models/payeelocationresponse.ts","./models/payeelocationsresponsedata.ts","./models/payeelocationsresponse.ts","./models/payeeresponsedata.ts","./models/payeeresponse.ts","./models/payeesresponsedata.ts","./models/payeesresponse.ts","./models/saveaccount.ts","./models/postaccountwrapper.ts","./models/scheduledtransactionfrequency.ts","./models/savescheduledtransaction.ts","./models/postscheduledtransactionwrapper.ts","./models/posttransactionswrapper.ts","./models/puttransactionwrapper.ts","./models/savecategoryresponsedata.ts","./models/savecategoryresponse.ts","./models/savepayeeresponsedata.ts","./models/savepayeeresponse.ts","./models/transactiondetail.ts","./models/savetransactionsresponsedata.ts","./models/savetransactionsresponse.ts","./models/scheduledtransactiondetail.ts","./models/scheduledtransactionresponsedata.ts","./models/scheduledtransactionresponse.ts","./models/scheduledtransactionsresponsedata.ts","./models/scheduledtransactionsresponse.ts","./models/transactionresponsedata.ts","./models/transactionresponse.ts","./models/transactionsimportresponsedata.ts","./models/transactionsimportresponse.ts","./models/transactionsresponsedata.ts","./models/transactionsresponse.ts","./models/user.ts","./models/userresponsedata.ts","./models/userresponse.ts","./models/index.ts","./apis/accountsapi.ts","./apis/budgetsapi.ts","./apis/categoriesapi.ts","./apis/monthsapi.ts","./apis/payeelocationsapi.ts","./apis/payeesapi.ts","./apis/scheduledtransactionsapi.ts","./apis/transactionsapi.ts","./apis/userapi.ts","./apis/index.ts","./apis/customtransactionsapi.ts","./utils.ts","./index.ts","./apis/deprecatedapi.ts","./models/budgetdetailallof.ts","./models/categorygoaltype.ts","./models/categorygroupwithcategoriesallof.ts","./models/hybridtransactionallof.ts","./models/monthdetailallof.ts","./models/savetransaction.ts","./models/savetransactionwithid.ts","./models/savetransactionwithidallof.ts","./models/savetransactionwithoptionalfieldsflagcolor.ts","./models/scheduledtransactiondetailallof.ts","./models/scheduledtransactionsummaryflagcolor.ts","./models/transactiondetailallof.ts","./models/transactionsummarydebttransactiontype.ts","../node_modules/@types/chai/index.d.ts","../node_modules/@types/eslint/helpers.d.ts","../node_modules/@types/estree/index.d.ts","../node_modules/@types/json-schema/index.d.ts","../node_modules/@types/eslint/index.d.ts","../node_modules/@types/eslint-scope/index.d.ts","../node_modules/@types/fetch-mock/index.d.ts","../node_modules/@types/mocha/index.d.ts","../node_modules/@types/node/globals.d.ts","../node_modules/@types/node/async_hooks.d.ts","../node_modules/@types/node/buffer.d.ts","../node_modules/@types/node/child_process.d.ts","../node_modules/@types/node/cluster.d.ts","../node_modules/@types/node/console.d.ts","../node_modules/@types/node/constants.d.ts","../node_modules/@types/node/crypto.d.ts","../node_modules/@types/node/dgram.d.ts","../node_modules/@types/node/dns.d.ts","../node_modules/@types/node/domain.d.ts","../node_modules/@types/node/events.d.ts","../node_modules/@types/node/fs.d.ts","../node_modules/@types/node/fs/promises.d.ts","../node_modules/@types/node/http.d.ts","../node_modules/@types/node/http2.d.ts","../node_modules/@types/node/https.d.ts","../node_modules/@types/node/inspector.d.ts","../node_modules/@types/node/module.d.ts","../node_modules/@types/node/net.d.ts","../node_modules/@types/node/os.d.ts","../node_modules/@types/node/path.d.ts","../node_modules/@types/node/perf_hooks.d.ts","../node_modules/@types/node/process.d.ts","../node_modules/@types/node/punycode.d.ts","../node_modules/@types/node/querystring.d.ts","../node_modules/@types/node/readline.d.ts","../node_modules/@types/node/repl.d.ts","../node_modules/@types/node/stream.d.ts","../node_modules/@types/node/string_decoder.d.ts","../node_modules/@types/node/timers.d.ts","../node_modules/@types/node/tls.d.ts","../node_modules/@types/node/trace_events.d.ts","../node_modules/@types/node/tty.d.ts","../node_modules/@types/node/url.d.ts","../node_modules/@types/node/util.d.ts","../node_modules/@types/node/v8.d.ts","../node_modules/@types/node/vm.d.ts","../node_modules/@types/node/worker_threads.d.ts","../node_modules/@types/node/zlib.d.ts","../node_modules/@types/node/base.d.ts","../node_modules/@types/node/ts3.2/fs.d.ts","../node_modules/@types/node/ts3.2/process.d.ts","../node_modules/@types/node/ts3.2/util.d.ts","../node_modules/@types/node/ts3.2/globals.d.ts","../node_modules/@types/node/ts3.2/base.d.ts","../node_modules/@types/node/ts3.5/globals.global.d.ts","../node_modules/@types/node/ts3.5/wasi.d.ts","../node_modules/@types/node/ts3.5/base.d.ts","../node_modules/@types/node/ts3.7/assert.d.ts","../node_modules/@types/node/ts3.7/base.d.ts","../node_modules/@types/node/ts3.7/index.d.ts","../../node_modules/@types/better-sqlite3/index.d.ts","../../node_modules/@types/stack-trace/index.d.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"2ac9cdcfb8f8875c18d14ec5796a8b029c426f73ad6dc3ffb580c228b58d1c44","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","dc48272d7c333ccf58034c0026162576b7d50ea0e69c3b9292f803fc20720fd5","9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8",{"version":"0075fa5ceda385bcdf3488e37786b5a33be730e8bc4aa3cf1e78c63891752ce8","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"f296963760430fb65b4e5d91f0ed770a91c6e77455bacf8fa23a1501654ede0e","affectsGlobalScope":true},{"version":"09226e53d1cfda217317074a97724da3e71e2c545e18774484b61562afc53cd2","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"8b41361862022eb72fcc8a7f34680ac842aca802cf4bc1f915e8c620c9ce4331","affectsGlobalScope":true},{"version":"f7bd636ae3a4623c503359ada74510c4005df5b36de7f23e1db8a5c543fd176b","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"0c20f4d2358eb679e4ae8a4432bdd96c857a2960fd6800b21ec4008ec59d60ea","affectsGlobalScope":true},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true},{"version":"82d0d8e269b9eeac02c3bd1c9e884e85d483fcb2cd168bccd6bc54df663da031","affectsGlobalScope":true},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true},{"version":"b8deab98702588840be73d67f02412a2d45a417a3c097b2e96f7f3a42ac483d1","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"376d554d042fb409cb55b5cbaf0b2b4b7e669619493c5d18d5fa8bd67273f82a","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"c4138a3dd7cd6cf1f363ca0f905554e8d81b45844feea17786cdf1626cb8ea06","affectsGlobalScope":true},{"version":"6ff3e2452b055d8f0ec026511c6582b55d935675af67cdb67dd1dc671e8065df","affectsGlobalScope":true},{"version":"03de17b810f426a2f47396b0b99b53a82c1b60e9cba7a7edda47f9bb077882f4","affectsGlobalScope":true},{"version":"8184c6ddf48f0c98429326b428478ecc6143c27f79b79e85740f17e6feb090f1","affectsGlobalScope":true},{"version":"b7e9f95a7387e3f66be0ed6db43600c49cec33a3900437ce2fd350d9b7cb16f2","affectsGlobalScope":true},{"version":"9cc66b0513ad41cb5f5372cca86ef83a0d37d1c1017580b7dace3ea5661836df","affectsGlobalScope":true},{"version":"307c8b7ebbd7f23a92b73a4c6c0a697beca05b06b036c23a34553e5fe65e4fdc","affectsGlobalScope":true},{"version":"f35a831e4f0fe3b3697f4a0fe0e3caa7624c92b78afbecaf142c0f93abfaf379","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"ed90f12423d512b609214acbed9609e04356a96fcc16bc3fc8cc1abe39912e45","signature":"76663a261e9b7dd4422cb22230dcac67e506c5db3d10e8415a73c836482916ce"},{"version":"87cc8c330fab899d2fb8a60b06e38bf5a0865a7859820320258fbec4a906d458","signature":"048e46e920e00b2ffeeb8097c2867f0b9408c7409878ebb031612337762dc0b8"},{"version":"9156895b0dfdbe85f2a36cc8b75491fd25982f1e89a4ca151a756410ae4c2de0","signature":"84c08d4d294775f848df5cb58d635b7a11e4b1b720a7e7160ff0b673e3da8fc5"},{"version":"7876b4e037b472e036de70f6181eb06533487fc962aa9719455601fb24f2061e","signature":"16f3239e15d7a3941629b540629e26eb57bf02b378c2708e61089573cdd7ab6e"},{"version":"4e3e8ddb1e57846f4da9174062496f2937be37fb13841a0ae3e5aa7fe2929254","signature":"ae7e6f9128d2705aaf91f300c6ce9a3c441bd071fe82c1db03d4910a19b2849c"},{"version":"ceb87516407318025c07c20c063874649a019cb94c6ce617ea482f8958f50963","signature":"69b26fadcc1ca6882346736b800b53ec4f9744a19af4dea5c0b19a3de34d4e61"},{"version":"0cf4a76d649b6d527780aacaf3cfb4bf963606cc5d1f9c7de859578c3f65d2d3","signature":"6dc982c28f06c8829f6c95a00736ccf4bd0a54373622a5eed9e8a0fdc361d687"},{"version":"61591907e25a6b07da75fe1a4c8c6d997600d532ae97b738dc36e04bdb36a157","signature":"ea7597962e5e0fb51aebbcfd3bf680e797ff59c5bca67be462718f78a301afbb"},{"version":"11cde5fb7fc3bc78dcab420ffe8913f432dca97350de286e7316fe31b36cc83c","signature":"8072422e3da2f6615c76ab8aa4f8a57e7d9725cd2e30f8e1234a7178f453483c"},{"version":"da2bc85ceb40aaa98d09f2f70ad598120b1075adc5bbe36e90f8dccf0121bc37","signature":"62b5a7c20165d92b0b7de68b25a27d0b3be36843d0ccb6e6ff9b4b0eeddaa66d"},{"version":"2cc449a31a358936c419ea472d8af8388dc96aeccb6b31736babe7519d45d372","signature":"16fe3a4a0f68fd312eb0bf7fc25d2089beadd704fdab422794c4d65c83598d14"},{"version":"47363fabe13cf95cd10bb703dce84b011555d0fc954550d033ae5b8f25187d4a","signature":"313c9619aa6aecfbb7a65bb5a378600b743ad99637b54834c25a9638b7a152de"},{"version":"7f3279e56ccbd6c31ccadeda31e84c3b77852a72616fb3a8040e80f30e1ade6d","signature":"93adacd54d0b3d238e0ff56e4a473c1adaca88c8ed3f48bc20086b9c08f1d0f6"},{"version":"1730d9e83b86182650ce0f97bdeb5582bc737477b04c66c4f778156a4b510722","signature":"1bef0e2d4d2cc922c08f6e62c3fbd76b4f46272699a002ef2e3df735ef644157"},{"version":"7ebae5187aae9018e4f3e8a6f86304bf5f831ebbb755e46cf236af6e1bd6872e","signature":"c07e59a51429c04e6b53fed7335176e96fc219f6292a536d9acfbe3521f06cdd"},{"version":"761c00e5e45d2086cfeb243be72a4ea68140528e123c5f52b60471b50a329abc","signature":"4dbabc3973161b0049bc4de07b1abd9940e8cf219ea45c9eeeac7be0406dd172"},{"version":"8d53b639af61060bfabd1a67c725c2a2aa4a000bc75bdc6ab940368e0354dd4f","signature":"ba99d6305d420d3ac6507769ca780ee9dc350ba25155c3561c830b413a1565c3"},{"version":"b1e5213df6fb97698190204dbe258fa1faefaf936fe62026bde7dacdf58d740e","signature":"de5d64926f5d895026c9150adfe219ebc3246ecf422639ef06090264918c2071"},{"version":"f46defd1fb50a31c5b933e2fb19d50ec7bfb78e8ed2ee37e4bb7cd88a912916e","signature":"c5c89949ec69ffbc5baac86565493bff630bc7c463e84081adb70c7b0b338c34"},{"version":"b7ad5acee620114ca3ddaa968dd3e91d856f1b4e01d3587288fc0b3a256b33f6","signature":"c990abecdd29c593fd10fba0fa1a2a5a6cda56ca8f5cc0b4cd6628529804e71b"},{"version":"9d347a9d61bd618c029c06764e348ac26dcb1e3a08a3e3c3b99548ee5eb3416b","signature":"175d081f5e7adbc24a0d97a37fd1fbb4e359c6d71c233474bb370b4fc73600ca"},{"version":"f8a370a0213caa53def5de851e27d3844c616b19965bb9700de47374aaf318b5","signature":"b3edbe955bcafc495223840bb5d9c683290c2922baf7d06a2ec13c54167c6899"},{"version":"d2cba7a8252d2f23487c5d331f60b34f509683598f0cdcd68ac8a70ff25d8c59","signature":"9bacbfccb5d9cabbe6961b603dcb7d12b8501de80cefbcbc0610641cb155fc09"},{"version":"0318df45ad0c1638e5b280e27e15c90980968f4660eb97b68adae8e0863b2a71","signature":"35d58c0b6b4d5475dca759e4cf80e6b59038ad93c88eda6261bce78a21c32324"},{"version":"89fcd6bbb60a9bee24d08b54bf76f14df0594ee48dced9212079c4b25b475365","signature":"bc0b0f794ba15458c91c04552aee914c1c8332fe0f481ad08ee663fc3b077e58"},{"version":"38a31db0ba8b0760fc7890829c94232ad981562b1c3fb1a293a5d70f7acbb734","signature":"f6e230d0924f4d3dce5ac832cf49cb7f41707a7b6e6d24ebd47ab0a74c04b705"},{"version":"4cdcc84a22b30207dfa55bd33e679b43b0066da94d0b5b20c35b4142dc7cca00","signature":"f423e29a743872a35836e6bf8554812db7aa8b94901f912b8bae54baccfcb65a"},{"version":"e97e0201151d3064329b3c8565fc351aacf39f964b53f06fab4c19196caab577","signature":"b3162a3601e3473f7f3e81f715d75951ab45df032af0af427f6c0170f988d906"},{"version":"0908061b90ba16327798e7b8670751ca2c3ef831768a0271feed2fadf48d2a87","signature":"bcd49d37df6aeec3cd9838885db259e42106ff3e4205ac386cf4ef22a44dc1e3"},{"version":"5a7395518e6dc19b06fe741dff7c6f90cadf1848ec824e1f0f0a5b0ada3a6a10","signature":"2cd26b92795161a8058386168870e9079588392f2a7d305ae7e00ccec5c8d977"},{"version":"709fcff54c0420fd5b4e778ba9f153c15991e66f1096b5312a0bd1f2949ee110","signature":"cd0df93102541be1e5102658665bc90f1edac8c5ad6fbb28a410de69bd56d025"},{"version":"6f3718843c2f64fb577975a696506ce378fcbd0cffa849fcfb1a9fa46fc455b4","signature":"7d2a911cb56383526a11b0912ce83f88ec8a6094e1944d42ccdb428b8c044769"},{"version":"f568aa2a98ac49518cb0f5c45f0d7e2d6b8dc51da9e71d404db531213246d225","signature":"ab3c0fc2c5750cc41b713ab66b9215db7362dddf86f70e52e9fe13e8d809fa41"},{"version":"335733ca72b56a6c96422df87f38c516e5e8bd431d1b72214a0058c3b20a8371","signature":"b4c202a22a3f527408ef4a4a3a69ba0a6c1c0f78c866a7f9f158025af7950d28"},{"version":"16dd2462421849b54fe394f2231a9c5c7bca72e2b46e257735fff972581c1897","signature":"aa02b1720630bff8f447867b35ff5e4c6145045f0033aaab2e8c8fb38aca6b78"},{"version":"6ca807300bcaeb5b8a975121bb3191d0663df187cda02f6803c25443d00844d3","signature":"781251c784341944ee50a0f624d69a7482c91dd9e47947ca86acbfbb32b940bf"},{"version":"bd2489f0433c48e1f2bb71a3b293fbf215c629f1611a22f0399427aa0fbf6212","signature":"be8cc114a98bab4326021d4868970d56dd6203eb7000c12299d81d3c1a9bebff"},{"version":"f466d04a3cb9b50556982786dc3ed8eea45253f9181d10506ef4be8b63a63e46","signature":"4bf28f8d5e0a94842360b05644d6591e0bfd6af6f1e74f91b36e48089501d774"},{"version":"f3172a0333d8c76fa8e480b4f5e502cf89b211c0d419c3f5efa689b5cebc86f2","signature":"d50cb3c8e05d186a568524493b18ba0873976644f77645eef561cdb5cfe26cd3"},{"version":"a74215d51aeb1e90f5828e65b90ec94287b789dad0e90ffc2ea6a9ae1f0bd511","signature":"1084892e06fe0f95051155566a4da95075e733c894c41d4c94ba9e973c0ce677"},{"version":"a463d268de3ca95110cd460383fc1b106753c9aa6c3d998bb841a4bccfe1ba6c","signature":"03ba9b65ce9ec837320e768cc036f030234bf7c7dc02045edc4daa7ef23f44a7"},{"version":"261bb521f88a7e4ed34a20f499e5c42a5095aa10664103065eb09fbac37a306d","signature":"4137288e5fdc715f59aafa4331dbca47ebe8278483e29f95a53c66e88b166b12"},{"version":"90e450495640510a9cd9ca2fc54a6a5b8a4b59dc30671453a292b87308359229","signature":"2c5f62f68773e4ba8d924d7273cfbbbf2a71938cbbd2c51b363caf1e6ea034f4"},{"version":"27589e2c7f830a107acdc1d7886b6151b780a5f604558772956d8d817294dbd0","signature":"a5dc0c0008b07269cd2d008e1ec033c870e9a3e058f29b6463b3b4564d9c5811"},{"version":"5978a6f6c5fa4398ece77edaedced48e76fdcc13403dd1d1edc2175188d45378","signature":"20aa2923cfb8ece063abf59facb0e0aa84964e8a5b0d6526a90835d0e2c54db9"},{"version":"02f40753b1796e4cc27b3c4c70bbb64ab1923910bfb33656b12172ebbb024239","signature":"9343a7ee313928009f8547128bb2040f5c29bafe3c6ee340d0c4b613ba49a0cb"},{"version":"e3d238a5f17c570d914b1fd5c0e2e622440040c64cd2bc948ebcfda76d5b43af","signature":"3fffdd4b5fb29e9ef469799e5fe76a191ca91060e287aeb2f0b56ab63f6c9fc4"},{"version":"b0cb5eea8317e06215694425a26bd85005515d941efcb39c511514f46668c59e","signature":"c638101a28624c199ebdfd9804fdd6857568397944be19126a8426f7d53d52fb"},{"version":"9e23b3a850a050386b6031b1460380ae9494bf118467a3ab042910b9f22f9f92","signature":"ece99b7ee7c6e642f94442eb1a3245460c331334a5bf95f91a1b46f49580763d"},{"version":"3e597ce184cc40a1b06364b2bb101d98a1146c8cf201ef670f7b3d1071481ce6","signature":"b2fabe1df9ef31c553cd8f9a7b8f1dde39d5cbc90d0add3c8f81211db2ccda04"},{"version":"093c3df271fc1576ba3ce745489d2816e52cb9458f0318a650dfb8fe7e791415","signature":"b9200517dfe2cad4a2c3b0b55335032b5e16329b5c81b01517d62655b68d932c"},{"version":"706020410192943553d201a312944001e4f922c0e9caf23864d671e71330b689","signature":"052cc6e5c5563dc6c2d6bd5afc22fe55b4098af6a5ae978faedb2778c32a2735"},{"version":"a5f16941366e5b650b4001aed99828557260192b2f01150f843afded2980406d","signature":"5f3d81dd02f7b359fcc59459878c6e8c9ccc7bc25d379c2e065863d5c2d6cc5b"},{"version":"94111074fa66d607141920c0c1294570fa96a3ceb727a412547ed09c7bbf53cd","signature":"d6415aabbc77d3b473e132a47117dac430e26870e465d211c6ba230c4e75cfcf"},{"version":"cf36a6d08c439a35713d6a07257d5d0e3d9a234d5a3224a66d4a99eb37c5c9f7","signature":"d7fecf8731ae647fdfdc0e95a9e836eedd47a4b7095faf6a4d06a5ed8a36332a"},{"version":"bbd4a953f85a1b1c48dd71825fce747b1c474b2ee97e9979112fd00fed2e4fa0","signature":"b537f1845d8d37fd57d0befd286f327a0fb74180ca0a76893fa99e30bdd0f422"},{"version":"1f9e395ca2e3694d362856e42c60558d876d01c2658c2aedd30b5ad28e9f1433","signature":"7a3d035821cb4a950ef99fa046bbef5f51d039a37c70bdd09350e95aaddbb050"},{"version":"fea289956cf9a7c51261ad0a2a3d90c2b9c0067cc4bbc471b668a7ec7f6be63e","signature":"c493acb0941cc74d53c9b6a963b08daab39079e3d25a2f184bba1b7f729c0469"},{"version":"7c70cedde8d263b0097fbac27fcac43ad63560e0a68da8e579c8cb30f427f664","signature":"93bc23d3f0e536b0409dec5432a096d32780c21066f60afffbd1921438a9563b"},{"version":"89b2758c9bca588aea885153eed85bbe755cbca80b9663404cf7c236791576ff","signature":"fae3ddd67207ebb3cffffca18e4124f44381eaf20a788cf05f7080ec5b5e9243"},{"version":"43f2b6cfd5dbf86150893f8357d89d08a83184bf1bed14ba8e6c44a407d4d392","signature":"f74f651e0baae28c0a3cf5d107b6e3475ef84e1d1950de37bf64272a68ae34af"},{"version":"aa3e16c69918c0df69ae495cee44a1040edd8b647e29f1524f505de5e2b94ed9","signature":"f46c9f636711befa06d46752ed2d5e73f2da2cbf7336df5d517563232631ec7a"},{"version":"3772ed76632cd86c3201b2560c62f11d120d0f140a465a32a1eca68faaf5f79f","signature":"8430588520f9fc1031951db8aa2fd6da4aa2274447cb4421d4b15c823c04f71c"},{"version":"81b383dbde3d0c8853529e0f88e99cb06c440796c36c0ccf9d7c6240708387bd","signature":"72089b34ea21f9eb514d302d34d068d43e39ad2783e769eb90c0e2ab932f28dc"},{"version":"535fd9b608f3bf9949aff8f01e239ac88468fbf00d8c886aaf5490d59fad69cb","signature":"2cb450b66baf937fab9237f157c0f2bd3eb8dc61d8ca0f9939cc78ef557a5df3"},{"version":"51e1a5bc190b711f88e5c410e4d416e97590f728431cd64aaa00c4da1269d4da","signature":"db43782d435a03ca52f61c99aace3659fb58c345215598b56d4cbd63e8be7062"},{"version":"edecdb1f804466f7c59190568c4308b96629a57c9f8e0e2e3740fcbacd5ca06b","signature":"a86f099ef227f158d5a8c20589184c0d8536f732aa4bf30c56f542096352d42b"},{"version":"6cee78ca519504ad64194b3821595ee825538e2f0350b62371a81c252e4a71f6","signature":"3c2cdc014b0f7b78fb0bfadd3c625474c6a8f8d6279a58db1d989a1d4821f80b"},{"version":"e46e7ba6a23458fc88225020b8eaeab34d66020a74b6d43b7b1705201482a8dc","signature":"8646dd4b0d23f671b7845ed47656d3381a9feb71a24608a539177f0af29a3c74"},{"version":"3d80a1ad9265a60ff887b1b32742b31bd685d817e8209777ef4b97cb714a55e8","signature":"24fd6f1225d4c62f1012fc6a978a0295bb7d3fb51b63099bb1ecf1eb84f5dae0"},{"version":"4b3b52ea976164c230d6ab7c548105301f5efc4c6a4d6f6f79c8b2dd4da9b267","signature":"07084a4f0beb213436d2fd3090f20d6a0b811097bcb3b7734ca47d12b5e1bdab"},{"version":"2d00754e0177e577ca03ba577b1c3e12d74f071a76a5a1bea831df1e80065214","signature":"e937d1d0e022661e0d725cc830b0cc2f126e6425e9bf078b1a3cfb2ead102692"},{"version":"c54ff3f6ddda523a179f5469733cff9804aa8b7e5af9275ea1949e3d83a4051e","signature":"159075b8f2e5efa547ada62502abb355193a67ed3437e0c727eae4274c383798"},{"version":"145fc354009b04ee31b2ca2af3d625285e99f957dcacca1a816fd6184cc1fbeb","signature":"5411c9e3222a0061e271c5fb8e8ea33411881949d3b5a8eb35667a7dfe8badce"},{"version":"650201ca7433a975f6648472198e019a262dfb571c8176fbeeae855c5b42bf4b","signature":"7e0263955c47430305bf7714f37b97e68cd18e9e4ee31b3f75e9fd566af30d6f"},{"version":"faaaf36df372ad4318e6c229cd7252f46f160eb4d34522f5b06255c2bcbb7e2a","signature":"f2e525713d81dc2ae7a9aee89b362ab4fb466200410f88db3bace613ccc2e25c"},{"version":"32de6888f522251ddf5bc94e114d3670bca04d0c10892c4bbe5634813d10a67d","signature":"46730184949a7d10f9f5d2ffe46c84141f9b797516dfb4470aed7d096c99bd3c"},{"version":"49dd0974b0be397f0b5f413bc4abc774a462d64b264b851920e6c34ade4d904a","signature":"ceae32c0431da6d108dc9c25496f50845f572a1f8cd623a1883e7e5da0047dbe"},{"version":"6e371da84cabf512553be6d2608a21838b0d9276447dc4c5b013bde632c5399d","signature":"affb3d82f33d219ff0dca730e2196707fdd4b07bf4a3902192481c9847faafd7"},{"version":"8181f6922ffbb6732f90afa011fee101190b4f8bb67aee1fac67e36670814e55","signature":"8d7c8b86037fb5628152bb7b87b7853a475e3850f6daf0019402a49daebd766d"},{"version":"c7e28f69e099691ac6e09e79b40051d80231602647bf6f3ce939bfb4906aa0d3","signature":"5345fd803b56e01112e798d20d3ac4d3b65a03e500e8033bda81950238b5ac4b"},{"version":"8597eafb75549adb72b765d9413f6c7ec139fcdac6c6c5c5c1251ceed1046e90","signature":"0d90f7cd9eba0df8cc809fea0ddaf1a5c4b71c389f44646eb5567989459a662a"},{"version":"d75640cfb84b047249c50e1c0481670734646d652884465b468cee97c9bcf78c","signature":"f2c864ce6afa10b330895fbfed4d0b52fc7c4bf221569bb8ee24b2d412c3a079"},{"version":"dd02405bc6a963e334b49e8c787634d19b178cdc42a18af19ede8077cd18555f","signature":"2316c0a7e6dfbb3c00865e44693bbd7c96daf6b3dbe527343793d562bec6d01f"},{"version":"c45e80389d8a3328d5aed50f711ea6d52080c67089d5a0ac509d6bd53c438e12","signature":"de0062b8cca0a085fc5b00e6374a372f038245d512429ee277422a962774ec89"},{"version":"8f191a416b28526f90fd1308951e8d7cb3c1a62600e80cacac8f1313bd38d357","signature":"4ef778e3dc30f56e51e8382e0294173c3262de6e9ca032f496b241d552843b2b"},{"version":"8868346cdd1aae0873a5373d4bb5d3fdfe72e59c4912bb9310b218a6607443fd","signature":"2b4968448cc82c2265da8f9af61eccf381c3144e5ac403ccde562d1eba064112"},{"version":"dcd604c14a1f0574b7e954983fb2db8fbeb546c148e931ef2433c06e0b18f1c2","signature":"348fb7c3038a3f5658f2fa8e9a507ce56ccecf6edaa8f683c2cb5e4ab755a1ff"},{"version":"5adcd289a1c0c26e06f241e7db56fd800a3e775d9d642c7918cbba57b4edb817","signature":"5b95ff6129a69516258224b6564deb2fc497f1f28072a25709d8ec011483773a"},{"version":"aeb0b6eec3db36e1baa9b1597ecbe9191aaa376c0683bf242d1b370887569c81","signature":"db08a26688f1cdd993a4dd1341a3e1d73b6232609213302d35b0dc5ee057c0fb"},{"version":"34c0ec4e2ca7dbda8055e80b605eedf3dfad3f0a2110f0a35aad30c7861e49de","signature":"36c28b0a9b6a33331d2bbd342f1ebb84aa3b548466e1dd7683279427b2b8f9d9"},{"version":"4370b91c966adf3f647af519e96ebf1ea86d4a76110cf264e550cc603ace7d94","signature":"4389efd6878be91af71a6c21de78f83bf7a894cf338d21ca81a2bbe18bc49de1"},{"version":"ebaa93f1d57694348cfd0c7205ef97cab0d85ce9ccca77c8190ad6853a488d7e","signature":"adc0222832b516ff210f97ac8da5128fcdce835d6cdeb7e266e44faf1087e14d"},{"version":"8a9e1cf6591bb8873fb1fa7ea1734ab0e404488cb1ed699225e95f0ccda3bd52","signature":"ca718d6546007dc612116631a6122de8c754113324b66acda269fe6df348b5cc"},{"version":"914258dc61040eb22145dc2c53c2ca17206a4ebc7076de67197cfc96b7dfe05e","signature":"cea0adb38ca27d5337eb51796271ae2a357c3151ea46a00d72354ec41cf2c6df"},{"version":"425abc8c8333e0de5ed5ebbd9d5778871eb73f962e8ffb6ea8631de8f19cbfa8","signature":"f3b3b68d15d356812f2ad73c96ae5881c0142283a84dd29078def6dcb43a788c"},{"version":"5afe1b58a9b56d44ad803fe6fe7a30e7757d40e16598ebdce91306c8fe8edc34","signature":"dfd2261a272cdb5caaa297fa499229a0e91504571a9376515c3ec2d83b04e2dd"},{"version":"95a75c0cb660e4b71d9ea216c37234935886ccdd764776af7a99e7f12bbcf6da","signature":"2177846a60c947b1e0d05976477819d7161c22e6b90ffc40e27030dadae92f60"},{"version":"44295027e7153dfd83b5e5044fc5aaab4b423ceaf5e4459d55da8bb4adb87552","signature":"fd0601e472101962bc477671702966bd336b3b89996d88808479e581e8872c42"},{"version":"88741cdb8153fc80b5a970e9f1cafea720e079bad5807ef3ed8b9e1378c2413b","signature":"1ada6fc7c54a33b5b974db8625d53442d8ea966d61a5e644fd98a86a4a33a4c3"},{"version":"187044aa80e9f21db5671272131b74c888071645eac506f2b37ed45c0844ca49","signature":"4885bf92807894625a8155236f059a948b11763ab7e22ce6adfa70628e569243"},{"version":"5cc7676fdb5c45196c0b7212986e6415df73b1b3e6795ff608759d40c02b2216","signature":"e804dbc43a25f90aff350efcd6765ed209b4952841c5aa9d874df03efd0e901c"},{"version":"e27a3281621a418f8f0de5f9d39146684d892e4863b9d6be1297e12e56b7e85e","signature":"c1548c49481bc91d0d13ffbe33b41a8a63d36e33e029a4250f88e91ed9bb34e3"},{"version":"37f3c5eea1b5ffa77b38379a621ddfb57ff8b5481434d06a531934a2b7164f64","signature":"c6f1ec18824e2a73cb7ab802174a3e16630e72632e7827eea683a79b040dfa0f"},{"version":"a0cdd984cb4ad38111c3adc5d824f08db2e8f01b928c4016dfae4f6eb0f34eb8","signature":"fa5f6199a9932f0b14408b4a6330d0dba7e1cfb7b7b1bd43ca58c5eef307ce41"},{"version":"40441e5e7d2acbd74fc3e81eaae59e28a5fcf2a2511a1c87ba0f2c39ce80ec99","signature":"c73d200f626af4830d69e5f5b8a4c1b4ee3077fe430a9dc99d41b8a6d3c4e7a2"},{"version":"26dffc75fa4583834aa2b3074e6411a2240571f9388f7ff0ac43f400fd347c21","signature":"5939a9bae648a3dc98f777652d20d8984a57bbc6a8ef52f53c117224f9d95194"},{"version":"b338bb933cdc1f12c2aeb3266ab14d0dd8295784e19fe00ebd31bb6207afa806","signature":"3fe596899e66d76c7469f30ee2cfaa29bdb77b94cfcd255a0f74a4d2e9dbf7db"},{"version":"f18d4b0209fe01f38e3224197f575cd4d417f57bc1835de39e643358349afef0","signature":"94bef913a33374e6391c12a1de5d101188ba1c3f1adbe9cf7b9c3403639cf6a3"},{"version":"8349721c15e2b940488103b5d337e36e2f0ef9cdb41ccde68c44743188176331","signature":"2900cd36186ed726e6516908a96674c9c6533b1345f21f4d7f5ef8d3486b0715"},{"version":"db1eec33f4994501e520569d25b485babfcd96d479c41ec8bf0a9e0f43fcb662","signature":"13458d4bc9cca28bd3c8db40472d51571689f67ae3473ff0f402394ab310b149"},{"version":"cad8e027cee598d1b5f02dc9be4a0e2d49216bd63fc21f3f9782fcfeadd6e3b6","signature":"7666d31c7a645d125c23cf5a8fc31a62fd239ef76fb4e16b6dd3ceae1f71b6dc"},{"version":"7b52391cf7abe96a481e33fd3adc26a285be42896d793129db32d670694bbf9c","signature":"6a42b112db6ba2d932610890fefa93067c040b3392e387c570a54c00cb65fd4c"},{"version":"b4afac6487f839cb4a6073d8fbf166a74b550f7d2fc78cb3d04ce7780f75b566","signature":"d24605b3d6087d642cbdd8bc3a5713c5c37cdc8cf88ac8f7365d8efaf9760cfa"},{"version":"cda245570fef94ac037497bf074f5e8e75a7655448c3de3b8503c44a8d3f02b0","signature":"50be398613160567f48335ccaf51069f4db27ffe249bee2fa1476cca9e55c9fe"},{"version":"93b4ba26e8402072f74aaf4548082c6e657bed43ee276257337ef1980ce163af","signature":"5533ab976e321fe76e26c113192a2609b0243883b20372baade4047d06331888"},{"version":"2bfdf987e8974707b6aa1fce2c221033bf8f02fe8f2e09232b1a4db29af39e59","signature":"282f8d55dc34ab7a063e51b71059e97656dd68a40d175b978bf3c7bf1fe76328"},{"version":"47fefeb6573406be9ec1d21feed7a3b986209f471ca58fa96fa144355dfc8fe7","signature":"1f871dbaffde565ece2e6b1177414fab3317f9833c412fb2d71b0f21d4f5f96c"},{"version":"cd90aba463c7acde346fc5860bf97b4adc90d930b471c640a980dbc5190dae33","signature":"e2fe614e5ca92de6bb5e13154b58121cc5eee2b95b133f6963805556e07d0c4a"},{"version":"971ebddd4f4d394a3a6cce1e3be734224acfee580cdd58c5c6b5edea7e7a152b","signature":"a0eca4a0368583236c5a890e600ccd506030785e2c3ae5f8bebfdc931b9cc92e"},{"version":"201f48c6952e5fc5d104e1924e3fb1152b04b9ec8262483771f88e86c8660787","signature":"65ab434c25fd31ba7cf1151ca7b7cfbf32aa99c3ac7e3c025ab5ec451a95f1f7"},{"version":"2e4a12b669a59c3bf28d63f0533baae1c77f7c182441b8ad6227adec6518af80","signature":"7b3ceffc531f59a8b843060cf82c8df00789ea4a1930aa4208cb8d3cdafa1ae0"},{"version":"dcb4cb973b5984e10420ae6bc7659cebbd93ce19b6dd96ff0ba13e9024cfea1d","signature":"596dfc0a656a50e9e58bca0044725c72030d8cf68a8a3cba9c4bc80c704edf80"},{"version":"61263c2392d9f30cf3f271c6a7d52b498fbbea0c0b7a295e129435d1d934e48c","signature":"56b85730f806433db7a5cab5e34f21d7ea687cfb22a311f7b56ea456008e04d9"},{"version":"2fc02febc18eb7df45ce134505a190daeb2fad54c71d12f41a741d47c0cc5549","affectsGlobalScope":true},{"version":"64d4b35c5456adf258d2cf56c341e203a073253f229ef3208fc0d5020253b241","affectsGlobalScope":true},"a1c79f857f5c7754e14c93949dad8cfefcd7df2ecc0dc9dd79a30fd493e28449","f3e604694b624fa3f83f6684185452992088f5efb2cf136b62474aa106d6f1b6","c84d0f714fe122193c21c0f0917e873beb3a03fa3422ceb2fbd1ebc0558790a0","e050a0afcdbb269720a900c85076d18e0c1ab73e580202a2bf6964978181222a","c552df30bb2eef1d7d8778f0635202a060f26f851c8326967cc1e9ce84cbb5f9",{"version":"5fa636db579756828c6b7d63badcba112f2d1352cf0331e5d462946762082ffa","affectsGlobalScope":true},{"version":"6fc83519155969f2457d2454908d68830a6f6480974914c024eaf4e3248a2fd1","affectsGlobalScope":true},"4ed9f71ddbb5753771ee391f64297078a88f7dfd1480646dcf08c31395778682","bc6a78961535181265845bf9b9e8a147ffd0ca275097ceb670a9b92afa825152","714e21572208da98a16594de5e42ee54dbbebca7e69e956d2dac010564378c45","123ec69e4b3a686eb49afd94ebe3292a5c84a867ecbcb6bb84bdd720a12af803",{"version":"51851805d06a6878796c3a00ccf0839fe18111a38d1bae84964c269f16bcc2b7","affectsGlobalScope":true},"90c85ddbb8de82cd19198bda062065fc51b7407c0f206f2e399e65a52e979720","bc99370962c617000b3f66ba97426142bf49daa5467c081c64a57ad7bc6bcc14","7ecfe97b43aa6c8b8f90caa599d5648bb559962e74e6f038f73a77320569dd78","7db7569fbb3e2b01ba8751c761cdd3f0debd104170d5665b7dc20a11630df3a9",{"version":"cde4d7f6274468180fa39847b183aec22626e8212ff885d535c53f4cd7c225fd","affectsGlobalScope":true},{"version":"072b0ac82ae8fe05b0d4f2eadb7f6edd0ebd84175ecad2f9e09261290a86bcee","affectsGlobalScope":true},"5a1eba6d050430241b27463e4917e1d30d3f5e242f47cab42619e4f7c5dea486","fb28748ff8d015f52e99daee4f454e57cec1a22141f1257c317f3630a15edeb7","27534007150d3d80f12fe48dc815b32bf9b92a7de058b52bfc21a256e9d18966","5d9394b829cfd504b2fe17287aaad8ce1dcfb2a2183c962a90a85b96da2c1c90","c969bf4c7cdfe4d5dd28aa09432f99d09ad1d8d8b839959646579521d0467d1a","6c3857edaeeaaf43812f527830ebeece9266b6e8eb5271ab6d2f0008306c9947","bc6a77e750f4d34584e46b1405b771fb69a224197dd6bafe5b0392a29a70b665","46cac76114704902baa535b30fb66a26aeaf9430f3b3ab44746e329f12e85498","ed4ae81196cccc10f297d228bca8d02e31058e6d723a3c5bc4be5fb3c61c6a34","84044697c8b3e08ef24e4b32cfe6440143d07e469a5e34bda0635276d32d9f35","0b6098fedb648cab8091cca2b022a5c729b6ef18da923852033f495907cb1a45",{"version":"6eaee45c02a226f96d34e0c6a7542873d0160af179bbf9ead42e05f6fc36f9e5","affectsGlobalScope":true},"30ec6f9c683b988c3cfaa0c4690692049c4e7ed7dc6f6e94f56194c06b86f5e1","884560fda6c3868f925f022adc3a1289fe6507bbb45adb10fa1bbcc73a941bb0","6b2bb67b0942bcfce93e1d6fad5f70afd54940a2b13df7f311201fba54b2cbe9","dd3706b25d06fe23c73d16079e8c66ac775831ef419da00716bf2aee530a04a4","1298327149e93a60c24a3b5db6048f7cc8fd4e3259e91d05fc44306a04b1b873","d67e08745494b000da9410c1ae2fdc9965fc6d593fe0f381a47491f75417d457","b40652bf8ce4a18133b31349086523b219724dca8df3448c1a0742528e7ad5b9","b268804feea68616eb0daad944359f46a2eac9b53a72a3d12bf328ef01207805","a77fdb357c78b70142b2fdbbfb72958d69e8f765fd2a3c69946c1018e89d4638","3c2ac350c3baa61fd2b1925844109e098f4376d0768a4643abc82754fd752748","826d48e49c905cedb906cbde6ccaf758827ff5867d4daa006b5a79e0fb489357","baa711b17f67390c60eac3c70a1391b23a8e3833cb723b2d7336d4817a22455c","289be113bad7ee27ee7fa5b1e373c964c9789a5e9ed7db5ddcb631371120b953","e4abb8eaa8a7d78236be0f8342404aab076668d20590209e32fdeb924588531e","086bfc0710b044ce1586108ee56c6e1c0d9ca2d325c153bb026cbc850169f593","f409183966a1dd93d3a9cd1d54fbeb85c73101e87cd5b19467c5e37b252f3fd8","b46af749e3574b83bccc0ec829322b15e834ae90b45760eebc75a189c28c0868","12b2608d6074167c331c9c3c6994a57819f6ff934c7fd4527e23aabf56d4c8d1",{"version":"ed9a167405a95168481b8b3ca6934565c8ed59de52f06e08b4c8b547e16b1257","affectsGlobalScope":true},"ffc1cd688606ad1ddb59a40e8f3defbde907af2a3402d1d9ddf69accb2903f07",{"version":"0bd12336f0f61303a1f71e1ab0b2ae325489eb9c7896cd49eb96edc9f182cf07","affectsGlobalScope":true},"bf7aafaeb6b90aaad61e446a8ad36eb30f6ea0292953eefcb7fdca95582d5c98",{"version":"2708349d5a11a5c2e5f3a0765259ebe7ee00cdcc8161cb9990cb4910328442a1","affectsGlobalScope":true},"0b3fef11ea6208c4cb3715c9aa108766ce98fc726bfba68cc23b25ce944ce9c0","255dbc5a5acef2b83b47145042aa0127ebf7fe24cd5ce6afaaaf5c8fc2c5eb96","a8b842671d535d14f533fd8dbfacebceacf5195069d720425d572d5cc5ab3dc4","9779312cffccce68e3ffbaa3a876381dc54a8240d9bdaa448f7eba222ec19392","d522314e80ed71b57e3c2939d3c9594eaae63a4adf028559e6574f6b270b0fee","b310d0ecac745104887df9d5e3bf9651df9f5391b0d369adaebe12ed1905e459","8b5d6b8b473ed3f589ca8bb5f49e5f150451b6df73d4cbc43d8e4de78794a8eb"],"root":[[36,159]],"options":{"composite":true,"declaration":true,"module":5,"noEmitOnError":true,"noImplicitAny":true,"outDir":"../dist/esm","rootDir":"./","strict":true,"strictPropertyInitialization":false,"target":1,"tsBuildInfoFile":"./tsconfig.esm.tsbuildinfo"},"fileIdsList":[[180,191,203,209,210,211,219],[180,191,203,209,210,211],[162,164,180,191,203,209,210,211],[161,162,163,180,191,203,209,210,211],[168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,209,210,211],[179,180,187,191,196,203,209,210,211],[171,179,180,187,191,203,209,210,211],[175,180,188,191,203,209,210,211],[180,191,196,203,209,210,211],[177,179,180,187,191,203,209,210,211],[179,180,191,203,209,210,211],[179,181,191,196,202,203,209,210,211],[180,187,191,196,202,203,209,210,211],[179,180,182,187,191,196,199,202,203,209,210,211],[179,180,182,191,199,202,203,209,210,211],[180,191,202,203,209,210,211],[177,179,180,191,196,203,209,210,211],[169,180,191,203,209,210,211],[180,201,203,209,210,211],[179,180,191,196,203,209,210,211],[180,191,194,203,205,209,210,211],[175,177,180,187,191,196,203,209,210,211],[180,191,203,208,209,210,211,212],[180,191,203,210,211],[168,180,191,203,209,210,211],[180,191,203,209,211],[180,191,203,209,210],[180,191,203,209,210,211,213,214,215],[180,191,203,209,210,211,216,217],[180,191,203,209,210,211,218],[180,187,191,203,209,210,211],[180,191,193,203,209,210,211],[180,191,209,210,211],[179,180,191,196,202,203,205,209,210,211],[36,132,180,191,203,209,210,211],[109,140,180,191,203,209,210,211],[133,134,135,136,137,138,139,140,141,180,191,203,209,210,211],[36,132,142,143,144,180,191,203,209,210,211],[36,37,180,191,203,209,210,211],[36,39,180,191,203,209,210,211],[36,38,180,191,203,209,210,211],[36,41,180,191,203,209,210,211],[36,38,43,45,46,47,48,49,50,51,52,54,55,180,191,203,209,210,211],[36,38,43,45,46,49,50,51,52,54,55,180,191,203,209,210,211],[36,57,180,191,203,209,210,211],[36,56,180,191,203,209,210,211],[36,47,48,180,191,203,209,210,211],[36,60,180,191,203,209,210,211],[36,59,180,191,203,209,210,211],[36,38,47,48,180,191,203,209,210,211],[36,63,180,191,203,209,210,211],[36,62,180,191,203,209,210,211],[36,66,180,191,203,209,210,211],[36,65,180,191,203,209,210,211],[36,180,191,203,209,210,211],[36,69,180,191,203,209,210,211],[36,72,180,191,203,209,210,211],[36,71,180,191,203,209,210,211],[36,46,180,191,203,209,210,211],[36,74,180,191,203,209,210,211],[36,76,180,191,203,209,210,211],[36,44,53,68,180,191,203,209,210,211],[36,44,53,180,191,203,209,210,211],[36,80,180,191,203,209,210,211],[36,79,180,191,203,209,210,211],[37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,180,191,203,209,210,211],[36,82,180,191,203,209,210,211],[36,50,180,191,203,209,210,211],[36,85,180,191,203,209,210,211],[36,84,180,191,203,209,210,211],[36,88,180,191,203,209,210,211],[36,90,180,191,203,209,210,211],[36,92,180,191,203,209,210,211],[36,94,180,191,203,209,210,211],[36,96,180,191,203,209,210,211],[36,43,180,191,203,209,210,211],[36,98,180,191,203,209,210,211],[36,100,180,191,203,209,210,211],[36,51,180,191,203,209,210,211],[36,102,180,191,203,209,210,211],[36,104,180,191,203,209,210,211],[36,107,180,191,203,209,210,211],[36,87,180,191,203,209,210,211],[36,78,180,191,203,209,210,211],[36,111,180,191,203,209,210,211],[36,113,180,191,203,209,210,211],[36,44,106,180,191,203,209,210,211],[36,116,180,191,203,209,210,211],[36,115,180,191,203,209,210,211],[36,44,52,180,191,203,209,210,211],[36,52,180,191,203,209,210,211],[36,119,180,191,203,209,210,211],[36,118,180,191,203,209,210,211],[36,121,180,191,203,209,210,211],[36,44,180,191,203,209,210,211],[36,44,49,53,180,191,203,209,210,211],[36,49,180,191,203,209,210,211],[36,123,180,191,203,209,210,211],[36,125,180,191,203,209,210,211],[36,127,180,191,203,209,210,211],[36,130,180,191,203,209,210,211],[36,129,180,191,203,209,210,211],[36,132],[109,140,145],[133,134,135,136,137,138,139,140,141],[36,132,142,143,144],[37],[39],[38],[41],[38,43,45,46,47,48,49,50,51,52,54,55],[38,43,45,46,49,50,51,52,54,55],[57],[56],[47,48],[60],[59],[38,47,48],[63],[62],[66],[65],[69],[72],[71],[46],[74],[76],[44,53,68],[44,53],[80],[79],[37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131],[82],[50],[85],[84],[88],[90],[92],[94],[96],[43],[98],[100],[51],[102],[104],[107],[87],[78],[111],[113],[44,106],[116],[115],[44,52],[52],[119],[118],[121],[44],[44,49,53],[49],[123],[125],[127],[130],[129]],"referencedMap":[[220,1],[221,2],[160,2],[165,3],[161,2],[164,4],[162,2],[166,2],[163,2],[167,2],[169,2],[208,5],[170,2],[171,6],[172,7],[173,2],[174,8],[175,9],[176,10],[177,2],[178,11],[179,2],[180,12],[181,2],[168,2],[182,13],[183,14],[184,15],[185,11],[186,16],[187,17],[188,2],[189,2],[190,18],[191,19],[192,2],[193,2],[194,20],[195,21],[196,11],[197,2],[198,2],[199,22],[200,2],[213,23],[209,24],[212,25],[210,26],[211,27],[216,28],[214,2],[215,2],[217,2],[218,29],[219,30],[201,31],[202,32],[203,33],[204,9],[205,2],[206,34],[207,9],[1,2],[34,2],[35,2],[7,2],[11,2],[10,2],[3,2],[12,2],[13,2],[14,2],[15,2],[16,2],[17,2],[18,2],[19,2],[4,2],[5,2],[20,2],[24,2],[21,2],[22,2],[23,2],[25,2],[26,2],[27,2],[6,2],[28,2],[29,2],[30,2],[31,2],[32,2],[2,2],[33,2],[9,2],[8,2],[133,35],[134,35],[135,35],[143,36],[146,35],[142,37],[136,35],[137,35],[138,35],[139,35],[140,35],[141,35],[145,38],[38,39],[40,40],[39,41],[42,42],[41,41],[37,2],[56,43],[147,44],[58,45],[57,46],[59,47],[61,48],[60,49],[62,50],[64,51],[63,52],[67,53],[66,54],[65,55],[70,56],[73,57],[72,58],[46,55],[148,55],[55,55],[71,59],[149,59],[75,60],[74,59],[47,55],[48,55],[76,55],[77,61],[78,62],[79,63],[150,55],[81,64],[80,65],[132,66],[50,59],[151,59],[83,67],[82,68],[86,69],[85,70],[84,55],[87,62],[89,71],[91,72],[93,73],[95,74],[51,55],[43,55],[97,75],[96,76],[99,77],[98,76],[101,78],[100,79],[103,80],[102,79],[105,81],[108,82],[109,83],[110,84],[104,39],[88,55],[112,85],[111,59],[90,55],[92,55],[114,86],[113,79],[107,87],[68,55],[152,62],[117,88],[116,89],[153,62],[154,55],[94,62],[69,62],[155,55],[52,55],[118,90],[156,91],[106,2],[120,92],[119,93],[122,94],[121,93],[45,95],[157,55],[49,55],[53,2],[115,96],[158,97],[44,2],[124,98],[123,89],[126,99],[125,55],[128,100],[127,89],[54,63],[159,55],[129,55],[131,101],[130,102],[36,2],[144,2]],"exportedModulesMap":[[220,1],[221,2],[160,2],[165,3],[161,2],[164,4],[162,2],[166,2],[163,2],[167,2],[169,2],[208,5],[170,2],[171,6],[172,7],[173,2],[174,8],[175,9],[176,10],[177,2],[178,11],[179,2],[180,12],[181,2],[168,2],[182,13],[183,14],[184,15],[185,11],[186,16],[187,17],[188,2],[189,2],[190,18],[191,19],[192,2],[193,2],[194,20],[195,21],[196,11],[197,2],[198,2],[199,22],[200,2],[213,23],[209,24],[212,25],[210,26],[211,27],[216,28],[214,2],[215,2],[217,2],[218,29],[219,30],[201,31],[202,32],[203,33],[204,9],[205,2],[206,34],[207,9],[1,2],[34,2],[35,2],[7,2],[11,2],[10,2],[3,2],[12,2],[13,2],[14,2],[15,2],[16,2],[17,2],[18,2],[19,2],[4,2],[5,2],[20,2],[24,2],[21,2],[22,2],[23,2],[25,2],[26,2],[27,2],[6,2],[28,2],[29,2],[30,2],[31,2],[32,2],[2,2],[33,2],[9,2],[8,2],[133,103],[134,103],[135,103],[143,104],[146,103],[142,105],[136,103],[137,103],[138,103],[139,103],[140,103],[141,103],[145,106],[38,107],[40,108],[39,109],[42,110],[41,109],[56,111],[147,112],[58,113],[57,114],[59,115],[61,116],[60,117],[62,118],[64,119],[63,120],[67,121],[66,122],[70,123],[73,124],[72,125],[71,126],[149,126],[75,127],[74,126],[77,128],[78,129],[79,130],[81,131],[80,132],[132,133],[50,126],[151,126],[83,134],[82,135],[86,136],[85,137],[87,129],[89,138],[91,139],[93,140],[95,141],[97,142],[96,143],[99,144],[98,143],[101,145],[100,146],[103,147],[102,146],[105,148],[108,149],[109,150],[110,151],[104,107],[112,152],[111,126],[114,153],[113,146],[107,154],[152,129],[117,155],[116,156],[153,129],[94,129],[69,129],[118,157],[156,158],[120,159],[119,160],[122,161],[121,160],[45,162],[115,163],[158,164],[124,165],[123,156],[126,166],[128,167],[127,156],[54,130],[131,168],[130,169]],"semanticDiagnosticsPerFile":[220,221,160,165,161,164,162,166,163,167,169,208,170,171,172,173,174,175,176,177,178,179,180,181,168,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,213,209,212,210,211,216,214,215,217,218,219,201,202,203,204,205,206,207,1,34,35,7,11,10,3,12,13,14,15,16,17,18,19,4,5,20,24,21,22,23,25,26,27,6,28,29,30,31,32,2,33,9,8,133,134,135,143,146,142,136,137,138,139,140,141,145,38,40,39,42,41,37,56,147,58,57,59,61,60,62,64,63,67,66,65,70,73,72,46,148,55,71,149,75,74,47,48,76,77,78,79,150,81,80,132,50,151,83,82,86,85,84,87,89,91,93,95,51,43,97,96,99,98,101,100,103,102,105,108,109,110,104,88,112,111,90,92,114,113,107,68,152,117,116,153,154,94,69,155,52,118,156,106,120,119,122,121,45,157,49,53,115,158,44,124,123,126,125,128,127,54,159,129,131,130,36,144],"latestChangedDtsFile":"../dist/esm/models/TransactionSummaryDebtTransactionType.d.ts"},"version":"5.2.2"} \ No newline at end of file +{"program":{"fileNames":["../node_modules/typescript/lib/lib.d.ts","../node_modules/typescript/lib/lib.es5.d.ts","../node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/typescript/lib/lib.es2018.d.ts","../node_modules/typescript/lib/lib.dom.d.ts","../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../node_modules/typescript/lib/lib.scripthost.d.ts","../node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/typescript/lib/lib.es2017.date.d.ts","../node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../node_modules/typescript/lib/lib.es2018.intl.d.ts","../node_modules/typescript/lib/lib.es2018.promise.d.ts","../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../node_modules/typescript/lib/lib.es2020.intl.d.ts","../node_modules/typescript/lib/lib.esnext.intl.d.ts","../node_modules/typescript/lib/lib.decorators.d.ts","../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../node_modules/fetch-ponyfill/index.d.ts","./runtime.ts","./models/accounttype.ts","./models/account.ts","./models/accountresponsedata.ts","./models/accountresponse.ts","./models/accountsresponsedata.ts","./models/accountsresponse.ts","./models/payeelocation.ts","./models/transactionflagcolor.ts","./models/scheduledtransactionsummary.ts","./models/category.ts","./models/currencyformat.ts","./models/dateformat.ts","./models/subtransaction.ts","./models/monthdetail.ts","./models/payee.ts","./models/scheduledsubtransaction.ts","./models/transactionclearedstatus.ts","./models/transactionsummary.ts","./models/categorygroup.ts","./models/budgetdetail.ts","./models/budgetdetailresponsedata.ts","./models/budgetdetailresponse.ts","./models/budgetsettings.ts","./models/budgetsettingsresponsedata.ts","./models/budgetsettingsresponse.ts","./models/budgetsummary.ts","./models/budgetsummaryresponsedata.ts","./models/budgetsummaryresponse.ts","./models/bulkresponsedatabulk.ts","./models/bulkresponsedata.ts","./models/bulkresponse.ts","./models/savesubtransaction.ts","./models/savetransactionwithoptionalfields.ts","./models/bulktransactions.ts","./models/categorygroupwithcategories.ts","./models/categoriesresponsedata.ts","./models/categoriesresponse.ts","./models/categoryresponsedata.ts","./models/categoryresponse.ts","./models/errordetail.ts","./models/errorresponse.ts","./models/existingtransaction.ts","./models/hybridtransaction.ts","./models/hybridtransactionsresponsedata.ts","./models/hybridtransactionsresponse.ts","./models/monthdetailresponsedata.ts","./models/monthdetailresponse.ts","./models/monthsummary.ts","./models/monthsummariesresponsedata.ts","./models/monthsummariesresponse.ts","./models/newtransaction.ts","./models/savecategory.ts","./models/patchcategorywrapper.ts","./models/savemonthcategory.ts","./models/patchmonthcategorywrapper.ts","./models/savepayee.ts","./models/patchpayeewrapper.ts","./models/savetransactionwithidorimportid.ts","./models/patchtransactionswrapper.ts","./models/payeelocationresponsedata.ts","./models/payeelocationresponse.ts","./models/payeelocationsresponsedata.ts","./models/payeelocationsresponse.ts","./models/payeeresponsedata.ts","./models/payeeresponse.ts","./models/payeesresponsedata.ts","./models/payeesresponse.ts","./models/saveaccount.ts","./models/postaccountwrapper.ts","./models/scheduledtransactionfrequency.ts","./models/savescheduledtransaction.ts","./models/postscheduledtransactionwrapper.ts","./models/posttransactionswrapper.ts","./models/puttransactionwrapper.ts","./models/savecategoryresponsedata.ts","./models/savecategoryresponse.ts","./models/savepayeeresponsedata.ts","./models/savepayeeresponse.ts","./models/transactiondetail.ts","./models/savetransactionsresponsedata.ts","./models/savetransactionsresponse.ts","./models/scheduledtransactiondetail.ts","./models/scheduledtransactionresponsedata.ts","./models/scheduledtransactionresponse.ts","./models/scheduledtransactionsresponsedata.ts","./models/scheduledtransactionsresponse.ts","./models/transactionresponsedata.ts","./models/transactionresponse.ts","./models/transactionsimportresponsedata.ts","./models/transactionsimportresponse.ts","./models/transactionsresponsedata.ts","./models/transactionsresponse.ts","./models/user.ts","./models/userresponsedata.ts","./models/userresponse.ts","./models/index.ts","./apis/accountsapi.ts","./apis/budgetsapi.ts","./apis/categoriesapi.ts","./apis/monthsapi.ts","./apis/payeelocationsapi.ts","./apis/payeesapi.ts","./apis/scheduledtransactionsapi.ts","./apis/transactionsapi.ts","./apis/userapi.ts","./apis/index.ts","./apis/customtransactionsapi.ts","./utils.ts","./index.ts","./apis/deprecatedapi.ts","./models/budgetdetailallof.ts","./models/categorygoaltype.ts","./models/categorygroupwithcategoriesallof.ts","./models/hybridtransactionallof.ts","./models/monthdetailallof.ts","./models/savetransaction.ts","./models/savetransactionwithid.ts","./models/savetransactionwithidallof.ts","./models/savetransactionwithoptionalfieldsflagcolor.ts","./models/scheduledtransactiondetailallof.ts","./models/scheduledtransactionsummaryflagcolor.ts","./models/transactiondetailallof.ts","./models/transactionsummarydebttransactiontype.ts","../node_modules/@types/chai/index.d.ts","../node_modules/@types/eslint/helpers.d.ts","../node_modules/@types/estree/index.d.ts","../node_modules/@types/json-schema/index.d.ts","../node_modules/@types/eslint/index.d.ts","../node_modules/@types/eslint-scope/index.d.ts","../node_modules/@types/fetch-mock/index.d.ts","../node_modules/@types/mocha/index.d.ts","../node_modules/@types/node/globals.d.ts","../node_modules/@types/node/async_hooks.d.ts","../node_modules/@types/node/buffer.d.ts","../node_modules/@types/node/child_process.d.ts","../node_modules/@types/node/cluster.d.ts","../node_modules/@types/node/console.d.ts","../node_modules/@types/node/constants.d.ts","../node_modules/@types/node/crypto.d.ts","../node_modules/@types/node/dgram.d.ts","../node_modules/@types/node/dns.d.ts","../node_modules/@types/node/domain.d.ts","../node_modules/@types/node/events.d.ts","../node_modules/@types/node/fs.d.ts","../node_modules/@types/node/fs/promises.d.ts","../node_modules/@types/node/http.d.ts","../node_modules/@types/node/http2.d.ts","../node_modules/@types/node/https.d.ts","../node_modules/@types/node/inspector.d.ts","../node_modules/@types/node/module.d.ts","../node_modules/@types/node/net.d.ts","../node_modules/@types/node/os.d.ts","../node_modules/@types/node/path.d.ts","../node_modules/@types/node/perf_hooks.d.ts","../node_modules/@types/node/process.d.ts","../node_modules/@types/node/punycode.d.ts","../node_modules/@types/node/querystring.d.ts","../node_modules/@types/node/readline.d.ts","../node_modules/@types/node/repl.d.ts","../node_modules/@types/node/stream.d.ts","../node_modules/@types/node/string_decoder.d.ts","../node_modules/@types/node/timers.d.ts","../node_modules/@types/node/tls.d.ts","../node_modules/@types/node/trace_events.d.ts","../node_modules/@types/node/tty.d.ts","../node_modules/@types/node/url.d.ts","../node_modules/@types/node/util.d.ts","../node_modules/@types/node/v8.d.ts","../node_modules/@types/node/vm.d.ts","../node_modules/@types/node/worker_threads.d.ts","../node_modules/@types/node/zlib.d.ts","../node_modules/@types/node/base.d.ts","../node_modules/@types/node/ts3.2/fs.d.ts","../node_modules/@types/node/ts3.2/process.d.ts","../node_modules/@types/node/ts3.2/util.d.ts","../node_modules/@types/node/ts3.2/globals.d.ts","../node_modules/@types/node/ts3.2/base.d.ts","../node_modules/@types/node/ts3.5/globals.global.d.ts","../node_modules/@types/node/ts3.5/wasi.d.ts","../node_modules/@types/node/ts3.5/base.d.ts","../node_modules/@types/node/ts3.7/assert.d.ts","../node_modules/@types/node/ts3.7/base.d.ts","../node_modules/@types/node/ts3.7/index.d.ts","../../node_modules/@types/better-sqlite3/index.d.ts","../../node_modules/@types/stack-trace/index.d.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"2ac9cdcfb8f8875c18d14ec5796a8b029c426f73ad6dc3ffb580c228b58d1c44","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","dc48272d7c333ccf58034c0026162576b7d50ea0e69c3b9292f803fc20720fd5","9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8",{"version":"0075fa5ceda385bcdf3488e37786b5a33be730e8bc4aa3cf1e78c63891752ce8","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"f296963760430fb65b4e5d91f0ed770a91c6e77455bacf8fa23a1501654ede0e","affectsGlobalScope":true},{"version":"09226e53d1cfda217317074a97724da3e71e2c545e18774484b61562afc53cd2","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"8b41361862022eb72fcc8a7f34680ac842aca802cf4bc1f915e8c620c9ce4331","affectsGlobalScope":true},{"version":"f7bd636ae3a4623c503359ada74510c4005df5b36de7f23e1db8a5c543fd176b","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"0c20f4d2358eb679e4ae8a4432bdd96c857a2960fd6800b21ec4008ec59d60ea","affectsGlobalScope":true},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true},{"version":"82d0d8e269b9eeac02c3bd1c9e884e85d483fcb2cd168bccd6bc54df663da031","affectsGlobalScope":true},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true},{"version":"b8deab98702588840be73d67f02412a2d45a417a3c097b2e96f7f3a42ac483d1","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"376d554d042fb409cb55b5cbaf0b2b4b7e669619493c5d18d5fa8bd67273f82a","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"c4138a3dd7cd6cf1f363ca0f905554e8d81b45844feea17786cdf1626cb8ea06","affectsGlobalScope":true},{"version":"6ff3e2452b055d8f0ec026511c6582b55d935675af67cdb67dd1dc671e8065df","affectsGlobalScope":true},{"version":"03de17b810f426a2f47396b0b99b53a82c1b60e9cba7a7edda47f9bb077882f4","affectsGlobalScope":true},{"version":"8184c6ddf48f0c98429326b428478ecc6143c27f79b79e85740f17e6feb090f1","affectsGlobalScope":true},{"version":"b7e9f95a7387e3f66be0ed6db43600c49cec33a3900437ce2fd350d9b7cb16f2","affectsGlobalScope":true},{"version":"9cc66b0513ad41cb5f5372cca86ef83a0d37d1c1017580b7dace3ea5661836df","affectsGlobalScope":true},{"version":"307c8b7ebbd7f23a92b73a4c6c0a697beca05b06b036c23a34553e5fe65e4fdc","affectsGlobalScope":true},{"version":"f35a831e4f0fe3b3697f4a0fe0e3caa7624c92b78afbecaf142c0f93abfaf379","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"247a122230298eb0673195e281ba0ae093a673276f60002a01459ee2035941ea",{"version":"1ecc342b68008ac1f378f9d632115ffac0e396949ae5ad81713f06271e6fde70","signature":"30b8d1fd2102a5d12c38f4d7ea2eed26bc9dc2457f951bd820765d689db2dcf8"},{"version":"87cc8c330fab899d2fb8a60b06e38bf5a0865a7859820320258fbec4a906d458","signature":"048e46e920e00b2ffeeb8097c2867f0b9408c7409878ebb031612337762dc0b8"},{"version":"9156895b0dfdbe85f2a36cc8b75491fd25982f1e89a4ca151a756410ae4c2de0","signature":"84c08d4d294775f848df5cb58d635b7a11e4b1b720a7e7160ff0b673e3da8fc5"},{"version":"7876b4e037b472e036de70f6181eb06533487fc962aa9719455601fb24f2061e","signature":"16f3239e15d7a3941629b540629e26eb57bf02b378c2708e61089573cdd7ab6e"},{"version":"4e3e8ddb1e57846f4da9174062496f2937be37fb13841a0ae3e5aa7fe2929254","signature":"ae7e6f9128d2705aaf91f300c6ce9a3c441bd071fe82c1db03d4910a19b2849c"},{"version":"ceb87516407318025c07c20c063874649a019cb94c6ce617ea482f8958f50963","signature":"69b26fadcc1ca6882346736b800b53ec4f9744a19af4dea5c0b19a3de34d4e61"},{"version":"0cf4a76d649b6d527780aacaf3cfb4bf963606cc5d1f9c7de859578c3f65d2d3","signature":"6dc982c28f06c8829f6c95a00736ccf4bd0a54373622a5eed9e8a0fdc361d687"},{"version":"61591907e25a6b07da75fe1a4c8c6d997600d532ae97b738dc36e04bdb36a157","signature":"ea7597962e5e0fb51aebbcfd3bf680e797ff59c5bca67be462718f78a301afbb"},{"version":"11cde5fb7fc3bc78dcab420ffe8913f432dca97350de286e7316fe31b36cc83c","signature":"8072422e3da2f6615c76ab8aa4f8a57e7d9725cd2e30f8e1234a7178f453483c"},{"version":"da2bc85ceb40aaa98d09f2f70ad598120b1075adc5bbe36e90f8dccf0121bc37","signature":"62b5a7c20165d92b0b7de68b25a27d0b3be36843d0ccb6e6ff9b4b0eeddaa66d"},{"version":"2cc449a31a358936c419ea472d8af8388dc96aeccb6b31736babe7519d45d372","signature":"16fe3a4a0f68fd312eb0bf7fc25d2089beadd704fdab422794c4d65c83598d14"},{"version":"47363fabe13cf95cd10bb703dce84b011555d0fc954550d033ae5b8f25187d4a","signature":"313c9619aa6aecfbb7a65bb5a378600b743ad99637b54834c25a9638b7a152de"},{"version":"7f3279e56ccbd6c31ccadeda31e84c3b77852a72616fb3a8040e80f30e1ade6d","signature":"93adacd54d0b3d238e0ff56e4a473c1adaca88c8ed3f48bc20086b9c08f1d0f6"},{"version":"1730d9e83b86182650ce0f97bdeb5582bc737477b04c66c4f778156a4b510722","signature":"1bef0e2d4d2cc922c08f6e62c3fbd76b4f46272699a002ef2e3df735ef644157"},{"version":"7ebae5187aae9018e4f3e8a6f86304bf5f831ebbb755e46cf236af6e1bd6872e","signature":"c07e59a51429c04e6b53fed7335176e96fc219f6292a536d9acfbe3521f06cdd"},{"version":"761c00e5e45d2086cfeb243be72a4ea68140528e123c5f52b60471b50a329abc","signature":"4dbabc3973161b0049bc4de07b1abd9940e8cf219ea45c9eeeac7be0406dd172"},{"version":"8d53b639af61060bfabd1a67c725c2a2aa4a000bc75bdc6ab940368e0354dd4f","signature":"ba99d6305d420d3ac6507769ca780ee9dc350ba25155c3561c830b413a1565c3"},{"version":"b1e5213df6fb97698190204dbe258fa1faefaf936fe62026bde7dacdf58d740e","signature":"de5d64926f5d895026c9150adfe219ebc3246ecf422639ef06090264918c2071"},{"version":"f46defd1fb50a31c5b933e2fb19d50ec7bfb78e8ed2ee37e4bb7cd88a912916e","signature":"c5c89949ec69ffbc5baac86565493bff630bc7c463e84081adb70c7b0b338c34"},{"version":"b7ad5acee620114ca3ddaa968dd3e91d856f1b4e01d3587288fc0b3a256b33f6","signature":"c990abecdd29c593fd10fba0fa1a2a5a6cda56ca8f5cc0b4cd6628529804e71b"},{"version":"9d347a9d61bd618c029c06764e348ac26dcb1e3a08a3e3c3b99548ee5eb3416b","signature":"175d081f5e7adbc24a0d97a37fd1fbb4e359c6d71c233474bb370b4fc73600ca"},{"version":"f8a370a0213caa53def5de851e27d3844c616b19965bb9700de47374aaf318b5","signature":"b3edbe955bcafc495223840bb5d9c683290c2922baf7d06a2ec13c54167c6899"},{"version":"d2cba7a8252d2f23487c5d331f60b34f509683598f0cdcd68ac8a70ff25d8c59","signature":"9bacbfccb5d9cabbe6961b603dcb7d12b8501de80cefbcbc0610641cb155fc09"},{"version":"0318df45ad0c1638e5b280e27e15c90980968f4660eb97b68adae8e0863b2a71","signature":"35d58c0b6b4d5475dca759e4cf80e6b59038ad93c88eda6261bce78a21c32324"},{"version":"89fcd6bbb60a9bee24d08b54bf76f14df0594ee48dced9212079c4b25b475365","signature":"bc0b0f794ba15458c91c04552aee914c1c8332fe0f481ad08ee663fc3b077e58"},{"version":"38a31db0ba8b0760fc7890829c94232ad981562b1c3fb1a293a5d70f7acbb734","signature":"f6e230d0924f4d3dce5ac832cf49cb7f41707a7b6e6d24ebd47ab0a74c04b705"},{"version":"4cdcc84a22b30207dfa55bd33e679b43b0066da94d0b5b20c35b4142dc7cca00","signature":"f423e29a743872a35836e6bf8554812db7aa8b94901f912b8bae54baccfcb65a"},{"version":"e97e0201151d3064329b3c8565fc351aacf39f964b53f06fab4c19196caab577","signature":"b3162a3601e3473f7f3e81f715d75951ab45df032af0af427f6c0170f988d906"},{"version":"0908061b90ba16327798e7b8670751ca2c3ef831768a0271feed2fadf48d2a87","signature":"bcd49d37df6aeec3cd9838885db259e42106ff3e4205ac386cf4ef22a44dc1e3"},{"version":"5a7395518e6dc19b06fe741dff7c6f90cadf1848ec824e1f0f0a5b0ada3a6a10","signature":"2cd26b92795161a8058386168870e9079588392f2a7d305ae7e00ccec5c8d977"},{"version":"709fcff54c0420fd5b4e778ba9f153c15991e66f1096b5312a0bd1f2949ee110","signature":"cd0df93102541be1e5102658665bc90f1edac8c5ad6fbb28a410de69bd56d025"},{"version":"6f3718843c2f64fb577975a696506ce378fcbd0cffa849fcfb1a9fa46fc455b4","signature":"7d2a911cb56383526a11b0912ce83f88ec8a6094e1944d42ccdb428b8c044769"},{"version":"f568aa2a98ac49518cb0f5c45f0d7e2d6b8dc51da9e71d404db531213246d225","signature":"ab3c0fc2c5750cc41b713ab66b9215db7362dddf86f70e52e9fe13e8d809fa41"},{"version":"335733ca72b56a6c96422df87f38c516e5e8bd431d1b72214a0058c3b20a8371","signature":"b4c202a22a3f527408ef4a4a3a69ba0a6c1c0f78c866a7f9f158025af7950d28"},{"version":"16dd2462421849b54fe394f2231a9c5c7bca72e2b46e257735fff972581c1897","signature":"aa02b1720630bff8f447867b35ff5e4c6145045f0033aaab2e8c8fb38aca6b78"},{"version":"6ca807300bcaeb5b8a975121bb3191d0663df187cda02f6803c25443d00844d3","signature":"781251c784341944ee50a0f624d69a7482c91dd9e47947ca86acbfbb32b940bf"},{"version":"bd2489f0433c48e1f2bb71a3b293fbf215c629f1611a22f0399427aa0fbf6212","signature":"be8cc114a98bab4326021d4868970d56dd6203eb7000c12299d81d3c1a9bebff"},{"version":"f466d04a3cb9b50556982786dc3ed8eea45253f9181d10506ef4be8b63a63e46","signature":"4bf28f8d5e0a94842360b05644d6591e0bfd6af6f1e74f91b36e48089501d774"},{"version":"f3172a0333d8c76fa8e480b4f5e502cf89b211c0d419c3f5efa689b5cebc86f2","signature":"d50cb3c8e05d186a568524493b18ba0873976644f77645eef561cdb5cfe26cd3"},{"version":"a74215d51aeb1e90f5828e65b90ec94287b789dad0e90ffc2ea6a9ae1f0bd511","signature":"1084892e06fe0f95051155566a4da95075e733c894c41d4c94ba9e973c0ce677"},{"version":"a463d268de3ca95110cd460383fc1b106753c9aa6c3d998bb841a4bccfe1ba6c","signature":"03ba9b65ce9ec837320e768cc036f030234bf7c7dc02045edc4daa7ef23f44a7"},{"version":"261bb521f88a7e4ed34a20f499e5c42a5095aa10664103065eb09fbac37a306d","signature":"4137288e5fdc715f59aafa4331dbca47ebe8278483e29f95a53c66e88b166b12"},{"version":"90e450495640510a9cd9ca2fc54a6a5b8a4b59dc30671453a292b87308359229","signature":"2c5f62f68773e4ba8d924d7273cfbbbf2a71938cbbd2c51b363caf1e6ea034f4"},{"version":"27589e2c7f830a107acdc1d7886b6151b780a5f604558772956d8d817294dbd0","signature":"a5dc0c0008b07269cd2d008e1ec033c870e9a3e058f29b6463b3b4564d9c5811"},{"version":"5978a6f6c5fa4398ece77edaedced48e76fdcc13403dd1d1edc2175188d45378","signature":"20aa2923cfb8ece063abf59facb0e0aa84964e8a5b0d6526a90835d0e2c54db9"},{"version":"02f40753b1796e4cc27b3c4c70bbb64ab1923910bfb33656b12172ebbb024239","signature":"9343a7ee313928009f8547128bb2040f5c29bafe3c6ee340d0c4b613ba49a0cb"},{"version":"e3d238a5f17c570d914b1fd5c0e2e622440040c64cd2bc948ebcfda76d5b43af","signature":"3fffdd4b5fb29e9ef469799e5fe76a191ca91060e287aeb2f0b56ab63f6c9fc4"},{"version":"b0cb5eea8317e06215694425a26bd85005515d941efcb39c511514f46668c59e","signature":"c638101a28624c199ebdfd9804fdd6857568397944be19126a8426f7d53d52fb"},{"version":"9e23b3a850a050386b6031b1460380ae9494bf118467a3ab042910b9f22f9f92","signature":"ece99b7ee7c6e642f94442eb1a3245460c331334a5bf95f91a1b46f49580763d"},{"version":"3e597ce184cc40a1b06364b2bb101d98a1146c8cf201ef670f7b3d1071481ce6","signature":"b2fabe1df9ef31c553cd8f9a7b8f1dde39d5cbc90d0add3c8f81211db2ccda04"},{"version":"093c3df271fc1576ba3ce745489d2816e52cb9458f0318a650dfb8fe7e791415","signature":"b9200517dfe2cad4a2c3b0b55335032b5e16329b5c81b01517d62655b68d932c"},{"version":"706020410192943553d201a312944001e4f922c0e9caf23864d671e71330b689","signature":"052cc6e5c5563dc6c2d6bd5afc22fe55b4098af6a5ae978faedb2778c32a2735"},{"version":"a5f16941366e5b650b4001aed99828557260192b2f01150f843afded2980406d","signature":"5f3d81dd02f7b359fcc59459878c6e8c9ccc7bc25d379c2e065863d5c2d6cc5b"},{"version":"94111074fa66d607141920c0c1294570fa96a3ceb727a412547ed09c7bbf53cd","signature":"d6415aabbc77d3b473e132a47117dac430e26870e465d211c6ba230c4e75cfcf"},{"version":"cf36a6d08c439a35713d6a07257d5d0e3d9a234d5a3224a66d4a99eb37c5c9f7","signature":"d7fecf8731ae647fdfdc0e95a9e836eedd47a4b7095faf6a4d06a5ed8a36332a"},{"version":"bbd4a953f85a1b1c48dd71825fce747b1c474b2ee97e9979112fd00fed2e4fa0","signature":"b537f1845d8d37fd57d0befd286f327a0fb74180ca0a76893fa99e30bdd0f422"},{"version":"1f9e395ca2e3694d362856e42c60558d876d01c2658c2aedd30b5ad28e9f1433","signature":"7a3d035821cb4a950ef99fa046bbef5f51d039a37c70bdd09350e95aaddbb050"},{"version":"fea289956cf9a7c51261ad0a2a3d90c2b9c0067cc4bbc471b668a7ec7f6be63e","signature":"c493acb0941cc74d53c9b6a963b08daab39079e3d25a2f184bba1b7f729c0469"},{"version":"7c70cedde8d263b0097fbac27fcac43ad63560e0a68da8e579c8cb30f427f664","signature":"93bc23d3f0e536b0409dec5432a096d32780c21066f60afffbd1921438a9563b"},{"version":"89b2758c9bca588aea885153eed85bbe755cbca80b9663404cf7c236791576ff","signature":"fae3ddd67207ebb3cffffca18e4124f44381eaf20a788cf05f7080ec5b5e9243"},{"version":"43f2b6cfd5dbf86150893f8357d89d08a83184bf1bed14ba8e6c44a407d4d392","signature":"f74f651e0baae28c0a3cf5d107b6e3475ef84e1d1950de37bf64272a68ae34af"},{"version":"aa3e16c69918c0df69ae495cee44a1040edd8b647e29f1524f505de5e2b94ed9","signature":"f46c9f636711befa06d46752ed2d5e73f2da2cbf7336df5d517563232631ec7a"},{"version":"3772ed76632cd86c3201b2560c62f11d120d0f140a465a32a1eca68faaf5f79f","signature":"8430588520f9fc1031951db8aa2fd6da4aa2274447cb4421d4b15c823c04f71c"},{"version":"81b383dbde3d0c8853529e0f88e99cb06c440796c36c0ccf9d7c6240708387bd","signature":"72089b34ea21f9eb514d302d34d068d43e39ad2783e769eb90c0e2ab932f28dc"},{"version":"535fd9b608f3bf9949aff8f01e239ac88468fbf00d8c886aaf5490d59fad69cb","signature":"2cb450b66baf937fab9237f157c0f2bd3eb8dc61d8ca0f9939cc78ef557a5df3"},{"version":"51e1a5bc190b711f88e5c410e4d416e97590f728431cd64aaa00c4da1269d4da","signature":"db43782d435a03ca52f61c99aace3659fb58c345215598b56d4cbd63e8be7062"},{"version":"edecdb1f804466f7c59190568c4308b96629a57c9f8e0e2e3740fcbacd5ca06b","signature":"a86f099ef227f158d5a8c20589184c0d8536f732aa4bf30c56f542096352d42b"},{"version":"6cee78ca519504ad64194b3821595ee825538e2f0350b62371a81c252e4a71f6","signature":"3c2cdc014b0f7b78fb0bfadd3c625474c6a8f8d6279a58db1d989a1d4821f80b"},{"version":"e46e7ba6a23458fc88225020b8eaeab34d66020a74b6d43b7b1705201482a8dc","signature":"8646dd4b0d23f671b7845ed47656d3381a9feb71a24608a539177f0af29a3c74"},{"version":"3d80a1ad9265a60ff887b1b32742b31bd685d817e8209777ef4b97cb714a55e8","signature":"24fd6f1225d4c62f1012fc6a978a0295bb7d3fb51b63099bb1ecf1eb84f5dae0"},{"version":"4b3b52ea976164c230d6ab7c548105301f5efc4c6a4d6f6f79c8b2dd4da9b267","signature":"07084a4f0beb213436d2fd3090f20d6a0b811097bcb3b7734ca47d12b5e1bdab"},{"version":"2d00754e0177e577ca03ba577b1c3e12d74f071a76a5a1bea831df1e80065214","signature":"e937d1d0e022661e0d725cc830b0cc2f126e6425e9bf078b1a3cfb2ead102692"},{"version":"c54ff3f6ddda523a179f5469733cff9804aa8b7e5af9275ea1949e3d83a4051e","signature":"159075b8f2e5efa547ada62502abb355193a67ed3437e0c727eae4274c383798"},{"version":"145fc354009b04ee31b2ca2af3d625285e99f957dcacca1a816fd6184cc1fbeb","signature":"5411c9e3222a0061e271c5fb8e8ea33411881949d3b5a8eb35667a7dfe8badce"},{"version":"650201ca7433a975f6648472198e019a262dfb571c8176fbeeae855c5b42bf4b","signature":"7e0263955c47430305bf7714f37b97e68cd18e9e4ee31b3f75e9fd566af30d6f"},{"version":"faaaf36df372ad4318e6c229cd7252f46f160eb4d34522f5b06255c2bcbb7e2a","signature":"f2e525713d81dc2ae7a9aee89b362ab4fb466200410f88db3bace613ccc2e25c"},{"version":"32de6888f522251ddf5bc94e114d3670bca04d0c10892c4bbe5634813d10a67d","signature":"46730184949a7d10f9f5d2ffe46c84141f9b797516dfb4470aed7d096c99bd3c"},{"version":"49dd0974b0be397f0b5f413bc4abc774a462d64b264b851920e6c34ade4d904a","signature":"ceae32c0431da6d108dc9c25496f50845f572a1f8cd623a1883e7e5da0047dbe"},{"version":"6e371da84cabf512553be6d2608a21838b0d9276447dc4c5b013bde632c5399d","signature":"affb3d82f33d219ff0dca730e2196707fdd4b07bf4a3902192481c9847faafd7"},{"version":"8181f6922ffbb6732f90afa011fee101190b4f8bb67aee1fac67e36670814e55","signature":"8d7c8b86037fb5628152bb7b87b7853a475e3850f6daf0019402a49daebd766d"},{"version":"c7e28f69e099691ac6e09e79b40051d80231602647bf6f3ce939bfb4906aa0d3","signature":"5345fd803b56e01112e798d20d3ac4d3b65a03e500e8033bda81950238b5ac4b"},{"version":"8597eafb75549adb72b765d9413f6c7ec139fcdac6c6c5c5c1251ceed1046e90","signature":"0d90f7cd9eba0df8cc809fea0ddaf1a5c4b71c389f44646eb5567989459a662a"},{"version":"d75640cfb84b047249c50e1c0481670734646d652884465b468cee97c9bcf78c","signature":"f2c864ce6afa10b330895fbfed4d0b52fc7c4bf221569bb8ee24b2d412c3a079"},{"version":"dd02405bc6a963e334b49e8c787634d19b178cdc42a18af19ede8077cd18555f","signature":"2316c0a7e6dfbb3c00865e44693bbd7c96daf6b3dbe527343793d562bec6d01f"},{"version":"c45e80389d8a3328d5aed50f711ea6d52080c67089d5a0ac509d6bd53c438e12","signature":"de0062b8cca0a085fc5b00e6374a372f038245d512429ee277422a962774ec89"},{"version":"8f191a416b28526f90fd1308951e8d7cb3c1a62600e80cacac8f1313bd38d357","signature":"4ef778e3dc30f56e51e8382e0294173c3262de6e9ca032f496b241d552843b2b"},{"version":"8868346cdd1aae0873a5373d4bb5d3fdfe72e59c4912bb9310b218a6607443fd","signature":"2b4968448cc82c2265da8f9af61eccf381c3144e5ac403ccde562d1eba064112"},{"version":"dcd604c14a1f0574b7e954983fb2db8fbeb546c148e931ef2433c06e0b18f1c2","signature":"348fb7c3038a3f5658f2fa8e9a507ce56ccecf6edaa8f683c2cb5e4ab755a1ff"},{"version":"5adcd289a1c0c26e06f241e7db56fd800a3e775d9d642c7918cbba57b4edb817","signature":"5b95ff6129a69516258224b6564deb2fc497f1f28072a25709d8ec011483773a"},{"version":"aeb0b6eec3db36e1baa9b1597ecbe9191aaa376c0683bf242d1b370887569c81","signature":"db08a26688f1cdd993a4dd1341a3e1d73b6232609213302d35b0dc5ee057c0fb"},{"version":"34c0ec4e2ca7dbda8055e80b605eedf3dfad3f0a2110f0a35aad30c7861e49de","signature":"36c28b0a9b6a33331d2bbd342f1ebb84aa3b548466e1dd7683279427b2b8f9d9"},{"version":"4370b91c966adf3f647af519e96ebf1ea86d4a76110cf264e550cc603ace7d94","signature":"4389efd6878be91af71a6c21de78f83bf7a894cf338d21ca81a2bbe18bc49de1"},{"version":"ebaa93f1d57694348cfd0c7205ef97cab0d85ce9ccca77c8190ad6853a488d7e","signature":"adc0222832b516ff210f97ac8da5128fcdce835d6cdeb7e266e44faf1087e14d"},{"version":"8a9e1cf6591bb8873fb1fa7ea1734ab0e404488cb1ed699225e95f0ccda3bd52","signature":"ca718d6546007dc612116631a6122de8c754113324b66acda269fe6df348b5cc"},{"version":"914258dc61040eb22145dc2c53c2ca17206a4ebc7076de67197cfc96b7dfe05e","signature":"cea0adb38ca27d5337eb51796271ae2a357c3151ea46a00d72354ec41cf2c6df"},{"version":"425abc8c8333e0de5ed5ebbd9d5778871eb73f962e8ffb6ea8631de8f19cbfa8","signature":"f3b3b68d15d356812f2ad73c96ae5881c0142283a84dd29078def6dcb43a788c"},{"version":"5afe1b58a9b56d44ad803fe6fe7a30e7757d40e16598ebdce91306c8fe8edc34","signature":"dfd2261a272cdb5caaa297fa499229a0e91504571a9376515c3ec2d83b04e2dd"},{"version":"95a75c0cb660e4b71d9ea216c37234935886ccdd764776af7a99e7f12bbcf6da","signature":"2177846a60c947b1e0d05976477819d7161c22e6b90ffc40e27030dadae92f60"},{"version":"44295027e7153dfd83b5e5044fc5aaab4b423ceaf5e4459d55da8bb4adb87552","signature":"fd0601e472101962bc477671702966bd336b3b89996d88808479e581e8872c42"},{"version":"88741cdb8153fc80b5a970e9f1cafea720e079bad5807ef3ed8b9e1378c2413b","signature":"1ada6fc7c54a33b5b974db8625d53442d8ea966d61a5e644fd98a86a4a33a4c3"},{"version":"187044aa80e9f21db5671272131b74c888071645eac506f2b37ed45c0844ca49","signature":"4885bf92807894625a8155236f059a948b11763ab7e22ce6adfa70628e569243"},{"version":"5cc7676fdb5c45196c0b7212986e6415df73b1b3e6795ff608759d40c02b2216","signature":"e804dbc43a25f90aff350efcd6765ed209b4952841c5aa9d874df03efd0e901c"},{"version":"e27a3281621a418f8f0de5f9d39146684d892e4863b9d6be1297e12e56b7e85e","signature":"c1548c49481bc91d0d13ffbe33b41a8a63d36e33e029a4250f88e91ed9bb34e3"},{"version":"37f3c5eea1b5ffa77b38379a621ddfb57ff8b5481434d06a531934a2b7164f64","signature":"c6f1ec18824e2a73cb7ab802174a3e16630e72632e7827eea683a79b040dfa0f"},{"version":"a0cdd984cb4ad38111c3adc5d824f08db2e8f01b928c4016dfae4f6eb0f34eb8","signature":"fa5f6199a9932f0b14408b4a6330d0dba7e1cfb7b7b1bd43ca58c5eef307ce41"},{"version":"40441e5e7d2acbd74fc3e81eaae59e28a5fcf2a2511a1c87ba0f2c39ce80ec99","signature":"c73d200f626af4830d69e5f5b8a4c1b4ee3077fe430a9dc99d41b8a6d3c4e7a2"},{"version":"26dffc75fa4583834aa2b3074e6411a2240571f9388f7ff0ac43f400fd347c21","signature":"5939a9bae648a3dc98f777652d20d8984a57bbc6a8ef52f53c117224f9d95194"},{"version":"b338bb933cdc1f12c2aeb3266ab14d0dd8295784e19fe00ebd31bb6207afa806","signature":"3fe596899e66d76c7469f30ee2cfaa29bdb77b94cfcd255a0f74a4d2e9dbf7db"},{"version":"f18d4b0209fe01f38e3224197f575cd4d417f57bc1835de39e643358349afef0","signature":"94bef913a33374e6391c12a1de5d101188ba1c3f1adbe9cf7b9c3403639cf6a3"},{"version":"8349721c15e2b940488103b5d337e36e2f0ef9cdb41ccde68c44743188176331","signature":"2900cd36186ed726e6516908a96674c9c6533b1345f21f4d7f5ef8d3486b0715"},{"version":"db1eec33f4994501e520569d25b485babfcd96d479c41ec8bf0a9e0f43fcb662","signature":"13458d4bc9cca28bd3c8db40472d51571689f67ae3473ff0f402394ab310b149"},{"version":"cad8e027cee598d1b5f02dc9be4a0e2d49216bd63fc21f3f9782fcfeadd6e3b6","signature":"7666d31c7a645d125c23cf5a8fc31a62fd239ef76fb4e16b6dd3ceae1f71b6dc"},{"version":"7b52391cf7abe96a481e33fd3adc26a285be42896d793129db32d670694bbf9c","signature":"6a42b112db6ba2d932610890fefa93067c040b3392e387c570a54c00cb65fd4c"},{"version":"b4afac6487f839cb4a6073d8fbf166a74b550f7d2fc78cb3d04ce7780f75b566","signature":"d24605b3d6087d642cbdd8bc3a5713c5c37cdc8cf88ac8f7365d8efaf9760cfa"},{"version":"cda245570fef94ac037497bf074f5e8e75a7655448c3de3b8503c44a8d3f02b0","signature":"50be398613160567f48335ccaf51069f4db27ffe249bee2fa1476cca9e55c9fe"},{"version":"93b4ba26e8402072f74aaf4548082c6e657bed43ee276257337ef1980ce163af","signature":"5533ab976e321fe76e26c113192a2609b0243883b20372baade4047d06331888"},{"version":"2bfdf987e8974707b6aa1fce2c221033bf8f02fe8f2e09232b1a4db29af39e59","signature":"282f8d55dc34ab7a063e51b71059e97656dd68a40d175b978bf3c7bf1fe76328"},{"version":"47fefeb6573406be9ec1d21feed7a3b986209f471ca58fa96fa144355dfc8fe7","signature":"1f871dbaffde565ece2e6b1177414fab3317f9833c412fb2d71b0f21d4f5f96c"},{"version":"cd90aba463c7acde346fc5860bf97b4adc90d930b471c640a980dbc5190dae33","signature":"e2fe614e5ca92de6bb5e13154b58121cc5eee2b95b133f6963805556e07d0c4a"},{"version":"971ebddd4f4d394a3a6cce1e3be734224acfee580cdd58c5c6b5edea7e7a152b","signature":"a0eca4a0368583236c5a890e600ccd506030785e2c3ae5f8bebfdc931b9cc92e"},{"version":"201f48c6952e5fc5d104e1924e3fb1152b04b9ec8262483771f88e86c8660787","signature":"65ab434c25fd31ba7cf1151ca7b7cfbf32aa99c3ac7e3c025ab5ec451a95f1f7"},{"version":"2e4a12b669a59c3bf28d63f0533baae1c77f7c182441b8ad6227adec6518af80","signature":"7b3ceffc531f59a8b843060cf82c8df00789ea4a1930aa4208cb8d3cdafa1ae0"},{"version":"dcb4cb973b5984e10420ae6bc7659cebbd93ce19b6dd96ff0ba13e9024cfea1d","signature":"596dfc0a656a50e9e58bca0044725c72030d8cf68a8a3cba9c4bc80c704edf80"},{"version":"61263c2392d9f30cf3f271c6a7d52b498fbbea0c0b7a295e129435d1d934e48c","signature":"56b85730f806433db7a5cab5e34f21d7ea687cfb22a311f7b56ea456008e04d9"},{"version":"2fc02febc18eb7df45ce134505a190daeb2fad54c71d12f41a741d47c0cc5549","affectsGlobalScope":true},{"version":"64d4b35c5456adf258d2cf56c341e203a073253f229ef3208fc0d5020253b241","affectsGlobalScope":true},"a1c79f857f5c7754e14c93949dad8cfefcd7df2ecc0dc9dd79a30fd493e28449","f3e604694b624fa3f83f6684185452992088f5efb2cf136b62474aa106d6f1b6","c84d0f714fe122193c21c0f0917e873beb3a03fa3422ceb2fbd1ebc0558790a0","e050a0afcdbb269720a900c85076d18e0c1ab73e580202a2bf6964978181222a","c552df30bb2eef1d7d8778f0635202a060f26f851c8326967cc1e9ce84cbb5f9",{"version":"5fa636db579756828c6b7d63badcba112f2d1352cf0331e5d462946762082ffa","affectsGlobalScope":true},{"version":"6fc83519155969f2457d2454908d68830a6f6480974914c024eaf4e3248a2fd1","affectsGlobalScope":true},"4ed9f71ddbb5753771ee391f64297078a88f7dfd1480646dcf08c31395778682","bc6a78961535181265845bf9b9e8a147ffd0ca275097ceb670a9b92afa825152","714e21572208da98a16594de5e42ee54dbbebca7e69e956d2dac010564378c45","123ec69e4b3a686eb49afd94ebe3292a5c84a867ecbcb6bb84bdd720a12af803",{"version":"51851805d06a6878796c3a00ccf0839fe18111a38d1bae84964c269f16bcc2b7","affectsGlobalScope":true},"90c85ddbb8de82cd19198bda062065fc51b7407c0f206f2e399e65a52e979720","bc99370962c617000b3f66ba97426142bf49daa5467c081c64a57ad7bc6bcc14","7ecfe97b43aa6c8b8f90caa599d5648bb559962e74e6f038f73a77320569dd78","7db7569fbb3e2b01ba8751c761cdd3f0debd104170d5665b7dc20a11630df3a9",{"version":"cde4d7f6274468180fa39847b183aec22626e8212ff885d535c53f4cd7c225fd","affectsGlobalScope":true},{"version":"072b0ac82ae8fe05b0d4f2eadb7f6edd0ebd84175ecad2f9e09261290a86bcee","affectsGlobalScope":true},"5a1eba6d050430241b27463e4917e1d30d3f5e242f47cab42619e4f7c5dea486","fb28748ff8d015f52e99daee4f454e57cec1a22141f1257c317f3630a15edeb7","27534007150d3d80f12fe48dc815b32bf9b92a7de058b52bfc21a256e9d18966","5d9394b829cfd504b2fe17287aaad8ce1dcfb2a2183c962a90a85b96da2c1c90","c969bf4c7cdfe4d5dd28aa09432f99d09ad1d8d8b839959646579521d0467d1a","6c3857edaeeaaf43812f527830ebeece9266b6e8eb5271ab6d2f0008306c9947","bc6a77e750f4d34584e46b1405b771fb69a224197dd6bafe5b0392a29a70b665","46cac76114704902baa535b30fb66a26aeaf9430f3b3ab44746e329f12e85498","ed4ae81196cccc10f297d228bca8d02e31058e6d723a3c5bc4be5fb3c61c6a34","84044697c8b3e08ef24e4b32cfe6440143d07e469a5e34bda0635276d32d9f35","0b6098fedb648cab8091cca2b022a5c729b6ef18da923852033f495907cb1a45",{"version":"6eaee45c02a226f96d34e0c6a7542873d0160af179bbf9ead42e05f6fc36f9e5","affectsGlobalScope":true},"30ec6f9c683b988c3cfaa0c4690692049c4e7ed7dc6f6e94f56194c06b86f5e1","884560fda6c3868f925f022adc3a1289fe6507bbb45adb10fa1bbcc73a941bb0","6b2bb67b0942bcfce93e1d6fad5f70afd54940a2b13df7f311201fba54b2cbe9","dd3706b25d06fe23c73d16079e8c66ac775831ef419da00716bf2aee530a04a4","1298327149e93a60c24a3b5db6048f7cc8fd4e3259e91d05fc44306a04b1b873","d67e08745494b000da9410c1ae2fdc9965fc6d593fe0f381a47491f75417d457","b40652bf8ce4a18133b31349086523b219724dca8df3448c1a0742528e7ad5b9","b268804feea68616eb0daad944359f46a2eac9b53a72a3d12bf328ef01207805","a77fdb357c78b70142b2fdbbfb72958d69e8f765fd2a3c69946c1018e89d4638","3c2ac350c3baa61fd2b1925844109e098f4376d0768a4643abc82754fd752748","826d48e49c905cedb906cbde6ccaf758827ff5867d4daa006b5a79e0fb489357","baa711b17f67390c60eac3c70a1391b23a8e3833cb723b2d7336d4817a22455c","289be113bad7ee27ee7fa5b1e373c964c9789a5e9ed7db5ddcb631371120b953","e4abb8eaa8a7d78236be0f8342404aab076668d20590209e32fdeb924588531e","086bfc0710b044ce1586108ee56c6e1c0d9ca2d325c153bb026cbc850169f593","f409183966a1dd93d3a9cd1d54fbeb85c73101e87cd5b19467c5e37b252f3fd8","b46af749e3574b83bccc0ec829322b15e834ae90b45760eebc75a189c28c0868","12b2608d6074167c331c9c3c6994a57819f6ff934c7fd4527e23aabf56d4c8d1",{"version":"ed9a167405a95168481b8b3ca6934565c8ed59de52f06e08b4c8b547e16b1257","affectsGlobalScope":true},"ffc1cd688606ad1ddb59a40e8f3defbde907af2a3402d1d9ddf69accb2903f07",{"version":"0bd12336f0f61303a1f71e1ab0b2ae325489eb9c7896cd49eb96edc9f182cf07","affectsGlobalScope":true},"bf7aafaeb6b90aaad61e446a8ad36eb30f6ea0292953eefcb7fdca95582d5c98",{"version":"2708349d5a11a5c2e5f3a0765259ebe7ee00cdcc8161cb9990cb4910328442a1","affectsGlobalScope":true},"0b3fef11ea6208c4cb3715c9aa108766ce98fc726bfba68cc23b25ce944ce9c0","255dbc5a5acef2b83b47145042aa0127ebf7fe24cd5ce6afaaaf5c8fc2c5eb96","a8b842671d535d14f533fd8dbfacebceacf5195069d720425d572d5cc5ab3dc4","9779312cffccce68e3ffbaa3a876381dc54a8240d9bdaa448f7eba222ec19392","d522314e80ed71b57e3c2939d3c9594eaae63a4adf028559e6574f6b270b0fee","b310d0ecac745104887df9d5e3bf9651df9f5391b0d369adaebe12ed1905e459","8b5d6b8b473ed3f589ca8bb5f49e5f150451b6df73d4cbc43d8e4de78794a8eb"],"root":[[37,160]],"options":{"composite":true,"declaration":true,"esModuleInterop":true,"module":5,"noEmitOnError":true,"noImplicitAny":true,"outDir":"../dist/esm","rootDir":"./","strict":true,"strictPropertyInitialization":false,"target":1,"tsBuildInfoFile":"./tsconfig.esm.tsbuildinfo"},"fileIdsList":[[181,192,204,210,211,212,220],[181,192,204,210,211,212],[163,165,181,192,204,210,211,212],[162,163,164,181,192,204,210,211,212],[169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,210,211,212],[180,181,188,192,197,204,210,211,212],[172,180,181,188,192,204,210,211,212],[176,181,189,192,204,210,211,212],[181,192,197,204,210,211,212],[178,180,181,188,192,204,210,211,212],[180,181,192,204,210,211,212],[180,182,192,197,203,204,210,211,212],[181,188,192,197,203,204,210,211,212],[180,181,183,188,192,197,200,203,204,210,211,212],[180,181,183,192,200,203,204,210,211,212],[181,192,203,204,210,211,212],[178,180,181,192,197,204,210,211,212],[170,181,192,204,210,211,212],[181,202,204,210,211,212],[180,181,192,197,204,210,211,212],[181,192,195,204,206,210,211,212],[176,178,181,188,192,197,204,210,211,212],[181,192,204,209,210,211,212,213],[181,192,204,211,212],[169,181,192,204,210,211,212],[181,192,204,210,212],[181,192,204,210,211],[181,192,204,210,211,212,214,215,216],[181,192,204,210,211,212,217,218],[181,192,204,210,211,212,219],[181,188,192,204,210,211,212],[181,192,194,204,210,211,212],[181,192,210,211,212],[180,181,192,197,203,204,206,210,211,212],[37,133,181,192,204,210,211,212],[110,141,181,192,204,210,211,212],[134,135,136,137,138,139,140,141,142,181,192,204,210,211,212],[37,133,143,144,145,181,192,204,210,211,212],[37,38,181,192,204,210,211,212],[37,40,181,192,204,210,211,212],[37,39,181,192,204,210,211,212],[37,42,181,192,204,210,211,212],[37,39,44,46,47,48,49,50,51,52,53,55,56,181,192,204,210,211,212],[37,39,44,46,47,50,51,52,53,55,56,181,192,204,210,211,212],[37,58,181,192,204,210,211,212],[37,57,181,192,204,210,211,212],[37,48,49,181,192,204,210,211,212],[37,61,181,192,204,210,211,212],[37,60,181,192,204,210,211,212],[37,39,48,49,181,192,204,210,211,212],[37,64,181,192,204,210,211,212],[37,63,181,192,204,210,211,212],[37,67,181,192,204,210,211,212],[37,66,181,192,204,210,211,212],[37,181,192,204,210,211,212],[37,70,181,192,204,210,211,212],[37,73,181,192,204,210,211,212],[37,72,181,192,204,210,211,212],[37,47,181,192,204,210,211,212],[37,75,181,192,204,210,211,212],[37,77,181,192,204,210,211,212],[37,45,54,69,181,192,204,210,211,212],[37,45,54,181,192,204,210,211,212],[37,81,181,192,204,210,211,212],[37,80,181,192,204,210,211,212],[38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,181,192,204,210,211,212],[37,83,181,192,204,210,211,212],[37,51,181,192,204,210,211,212],[37,86,181,192,204,210,211,212],[37,85,181,192,204,210,211,212],[37,89,181,192,204,210,211,212],[37,91,181,192,204,210,211,212],[37,93,181,192,204,210,211,212],[37,95,181,192,204,210,211,212],[37,97,181,192,204,210,211,212],[37,44,181,192,204,210,211,212],[37,99,181,192,204,210,211,212],[37,101,181,192,204,210,211,212],[37,52,181,192,204,210,211,212],[37,103,181,192,204,210,211,212],[37,105,181,192,204,210,211,212],[37,108,181,192,204,210,211,212],[37,88,181,192,204,210,211,212],[37,79,181,192,204,210,211,212],[37,112,181,192,204,210,211,212],[37,114,181,192,204,210,211,212],[37,45,107,181,192,204,210,211,212],[37,117,181,192,204,210,211,212],[37,116,181,192,204,210,211,212],[37,45,53,181,192,204,210,211,212],[37,53,181,192,204,210,211,212],[37,120,181,192,204,210,211,212],[37,119,181,192,204,210,211,212],[37,122,181,192,204,210,211,212],[37,45,181,192,204,210,211,212],[37,45,50,54,181,192,204,210,211,212],[37,50,181,192,204,210,211,212],[37,124,181,192,204,210,211,212],[37,126,181,192,204,210,211,212],[37,128,181,192,204,210,211,212],[37,131,181,192,204,210,211,212],[37,130,181,192,204,210,211,212],[36,181,192,204,210,211,212],[37,133],[110,141,146],[134,135,136,137,138,139,140,141,142],[37,133,143,144,145],[38],[40],[39],[42],[39,44,46,47,48,49,50,51,52,53,55,56],[39,44,46,47,50,51,52,53,55,56],[58],[57],[48,49],[61],[60],[39,48,49],[64],[63],[67],[66],[70],[73],[72],[47],[75],[77],[45,54,69],[45,54],[81],[80],[38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132],[83],[51],[86],[85],[89],[91],[93],[95],[97],[44],[99],[101],[52],[103],[105],[108],[88],[79],[112],[114],[45,107],[117],[116],[45,53],[53],[120],[119],[122],[45],[45,50,54],[50],[124],[126],[128],[131],[130]],"referencedMap":[[221,1],[222,2],[161,2],[166,3],[162,2],[165,4],[163,2],[167,2],[164,2],[168,2],[170,2],[209,5],[171,2],[172,6],[173,7],[174,2],[175,8],[176,9],[177,10],[178,2],[179,11],[180,2],[181,12],[182,2],[169,2],[183,13],[184,14],[185,15],[186,11],[187,16],[188,17],[189,2],[190,2],[191,18],[192,19],[193,2],[194,2],[195,20],[196,21],[197,11],[198,2],[199,2],[200,22],[201,2],[214,23],[210,24],[213,25],[211,26],[212,27],[217,28],[215,2],[216,2],[218,2],[219,29],[220,30],[202,31],[203,32],[204,33],[205,9],[206,2],[207,34],[208,9],[36,2],[1,2],[34,2],[35,2],[7,2],[11,2],[10,2],[3,2],[12,2],[13,2],[14,2],[15,2],[16,2],[17,2],[18,2],[19,2],[4,2],[5,2],[20,2],[24,2],[21,2],[22,2],[23,2],[25,2],[26,2],[27,2],[6,2],[28,2],[29,2],[30,2],[31,2],[32,2],[2,2],[33,2],[9,2],[8,2],[134,35],[135,35],[136,35],[144,36],[147,35],[143,37],[137,35],[138,35],[139,35],[140,35],[141,35],[142,35],[146,38],[39,39],[41,40],[40,41],[43,42],[42,41],[38,2],[57,43],[148,44],[59,45],[58,46],[60,47],[62,48],[61,49],[63,50],[65,51],[64,52],[68,53],[67,54],[66,55],[71,56],[74,57],[73,58],[47,55],[149,55],[56,55],[72,59],[150,59],[76,60],[75,59],[48,55],[49,55],[77,55],[78,61],[79,62],[80,63],[151,55],[82,64],[81,65],[133,66],[51,59],[152,59],[84,67],[83,68],[87,69],[86,70],[85,55],[88,62],[90,71],[92,72],[94,73],[96,74],[52,55],[44,55],[98,75],[97,76],[100,77],[99,76],[102,78],[101,79],[104,80],[103,79],[106,81],[109,82],[110,83],[111,84],[105,39],[89,55],[113,85],[112,59],[91,55],[93,55],[115,86],[114,79],[108,87],[69,55],[153,62],[118,88],[117,89],[154,62],[155,55],[95,62],[70,62],[156,55],[53,55],[119,90],[157,91],[107,2],[121,92],[120,93],[123,94],[122,93],[46,95],[158,55],[50,55],[54,2],[116,96],[159,97],[45,2],[125,98],[124,89],[127,99],[126,55],[129,100],[128,89],[55,63],[160,55],[130,55],[132,101],[131,102],[37,103],[145,2]],"exportedModulesMap":[[221,1],[222,2],[161,2],[166,3],[162,2],[165,4],[163,2],[167,2],[164,2],[168,2],[170,2],[209,5],[171,2],[172,6],[173,7],[174,2],[175,8],[176,9],[177,10],[178,2],[179,11],[180,2],[181,12],[182,2],[169,2],[183,13],[184,14],[185,15],[186,11],[187,16],[188,17],[189,2],[190,2],[191,18],[192,19],[193,2],[194,2],[195,20],[196,21],[197,11],[198,2],[199,2],[200,22],[201,2],[214,23],[210,24],[213,25],[211,26],[212,27],[217,28],[215,2],[216,2],[218,2],[219,29],[220,30],[202,31],[203,32],[204,33],[205,9],[206,2],[207,34],[208,9],[36,2],[1,2],[34,2],[35,2],[7,2],[11,2],[10,2],[3,2],[12,2],[13,2],[14,2],[15,2],[16,2],[17,2],[18,2],[19,2],[4,2],[5,2],[20,2],[24,2],[21,2],[22,2],[23,2],[25,2],[26,2],[27,2],[6,2],[28,2],[29,2],[30,2],[31,2],[32,2],[2,2],[33,2],[9,2],[8,2],[134,104],[135,104],[136,104],[144,105],[147,104],[143,106],[137,104],[138,104],[139,104],[140,104],[141,104],[142,104],[146,107],[39,108],[41,109],[40,110],[43,111],[42,110],[57,112],[148,113],[59,114],[58,115],[60,116],[62,117],[61,118],[63,119],[65,120],[64,121],[68,122],[67,123],[71,124],[74,125],[73,126],[72,127],[150,127],[76,128],[75,127],[78,129],[79,130],[80,131],[82,132],[81,133],[133,134],[51,127],[152,127],[84,135],[83,136],[87,137],[86,138],[88,130],[90,139],[92,140],[94,141],[96,142],[98,143],[97,144],[100,145],[99,144],[102,146],[101,147],[104,148],[103,147],[106,149],[109,150],[110,151],[111,152],[105,108],[113,153],[112,127],[115,154],[114,147],[108,155],[153,130],[118,156],[117,157],[154,130],[95,130],[70,130],[119,158],[157,159],[121,160],[120,161],[123,162],[122,161],[46,163],[116,164],[159,165],[125,166],[124,157],[127,167],[129,168],[128,157],[55,131],[132,169],[131,170]],"semanticDiagnosticsPerFile":[221,222,161,166,162,165,163,167,164,168,170,209,171,172,173,174,175,176,177,178,179,180,181,182,169,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,214,210,213,211,212,217,215,216,218,219,220,202,203,204,205,206,207,208,36,1,34,35,7,11,10,3,12,13,14,15,16,17,18,19,4,5,20,24,21,22,23,25,26,27,6,28,29,30,31,32,2,33,9,8,134,135,136,144,147,143,137,138,139,140,141,142,146,39,41,40,43,42,38,57,148,59,58,60,62,61,63,65,64,68,67,66,71,74,73,47,149,56,72,150,76,75,48,49,77,78,79,80,151,82,81,133,51,152,84,83,87,86,85,88,90,92,94,96,52,44,98,97,100,99,102,101,104,103,106,109,110,111,105,89,113,112,91,93,115,114,108,69,153,118,117,154,155,95,70,156,53,119,157,107,121,120,123,122,46,158,50,54,116,159,45,125,124,127,126,129,128,55,160,130,132,131,37,145],"latestChangedDtsFile":"../dist/esm/models/TransactionSummaryDebtTransactionType.d.ts"},"version":"5.2.2"} \ No newline at end of file diff --git a/src/tsconfig.json b/src/tsconfig.json index 036ad4b..16e6206 100644 --- a/src/tsconfig.json +++ b/src/tsconfig.json @@ -10,6 +10,7 @@ "noEmitOnError": true, "composite": true, "incremental": true, + "esModuleInterop": true, "tsBuildInfoFile": "./tsconfig.tsbuildinfo", "rootDir": "." },