code: function (budget_id, since_date, type, last_knowledge_of_server, options) {
              var localVarFetchArgs = TransactionsApiFetchParamCreator(configuration).getTransactions(budget_id, since_date, type, last_knowledge_of_server, options);
              return function (fetchFunction) {
                  if (fetchFunction === void 0) { fetchFunction = fetch; }
                  return fetchFunction(configuration.basePath + localVarFetchArgs.url, localVarFetchArgs.options).then(function (response) {
                      if (response.status >= 200 && response.status < 300) {
                          return response.json();
                      }
                      else {
                          return response.json().then(function (e) {
                              return Promise.reject(e);
                          });
                      }
                  });
              };
          }
docs: Returns budget transactions
  @summary List transactions
  @param {string} budget_id - The id of the budget (\"last-used\" can also be used to specify the last used budget)
  @param {Date} [since_date] - If specified, only transactions on or after this date will be included.  The date should be ISO formatted (e.g. 2016-12-30).
  @param {&#39;uncategorized&#39; | &#39;unapproved&#39;} [type] - If specified, only transactions of the specified type will be included. 'uncategorized' and 'unapproved' are currently supported.
  @param {number} [last_knowledge_of_server] - The starting server knowledge.  If provided, only entities that have changed since last_knowledge_of_server will be included.
  @param {*} [options] - Override http request options.
  @throws {RequiredError}