docs: 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);
                          });
                      }
                  });
              };
          }