code: function (budget_id, data, options) {
              var localVarFetchArgs = TransactionsApiFetchParamCreator(configuration).createTransaction(budget_id, data, 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: Creates a single transaction or multiple transactions.  If you provide a body containing a 'transaction' object, a single transaction will be created and if you provide a body containing a 'transactions' array, multiple transactions will be created.
  @summary Create a single transaction or multiple transactions
  @param {string} budget_id - The id of the budget (\"last-used\" can also be used to specify the last used budget)
  @param {SaveTransactionsWrapper} data - The transaction or transactions to create.  To create a single transaction you can specify a value for the 'transaction' object and to create multiple transactions you can specify an array of 'transactions'.  It is expected that you will only provide a value for one of these objects.
  @param {*} [options] - Override http request options.
  @throws {RequiredError}