func (_m *Datastore) DeleteApiKey(_a0 string, _a1 string) error {
	ret := _m.Called(_a0, _a1)
	var r0 error
	if rf, ok := ret.Get(0).(func(string, string) error); ok {
		r0 = rf(_a0, _a1)
	} else {
		r0 = ret.Error(0)
	}
	return r0
}
DeleteApiKey provides a mock function with given fields: _a0, _a1
package mocks
import mock "github.com/stretchr/testify/mock"
import time "time"
import types "github.com/openaccounting/oa-server/core/model/types"
type Datastore struct {
	mock.Mock
}
func (_m *Datastore) AcceptInvite(_a0 *types.Invite, _a1 string) error {
	ret := _m.Called(_a0, _a1)
	var r0 error
	if rf, ok := ret.Get(0).(func(*types.Invite, string) error); ok {
		r0 = rf(_a0, _a1)
	} else {
		r0 = ret.Error(0)
	}
	return r0
}
func (_m *Datastore) AddBalance(_a0 *types.Account, _a1 time.Time) error {
	ret := _m.Called(_a0, _a1)
	var r0 error
	if rf, ok := ret.Get(0).(func(*types.Account, time.Time) error); ok {
		r0 = rf(_a0, _a1)
	} else {
		r0 = ret.Error(0)
	}
	return r0
}
func (_m *Datastore) AddBalances(_a0 []*types.Account, _a1 time.Time) error {
	ret := _m.Called(_a0, _a1)
	var r0 error
	if rf, ok := ret.Get(0).(func([]*types.Account, time.Time) error); ok {
		r0 = rf(_a0, _a1)
	} else {
		r0 = ret.Error(0)
	}
	return r0
}
func (_m *Datastore) AddNativeBalanceCost(_a0 *types.Account, _a1 time.Time) error {
	ret := _m.Called(_a0, _a1)
	var r0 error
	if rf, ok := ret.Get(0).(func(*types.Account, time.Time) error); ok {
		r0 = rf(_a0, _a1)
	} else {
		r0 = ret.Error(0)
	}
	return r0
}
func (_m *Datastore) AddNativeBalanceNearestInTime(_a0 *types.Account, _a1 time.Time) error {
	ret := _m.Called(_a0, _a1)
	var r0 error
	if rf, ok := ret.Get(0).(func(*types.Account, time.Time) error); ok {
		r0 = rf(_a0, _a1)
	} else {
		r0 = ret.Error(0)
	}
	return r0
}
func (_m *Datastore) AddNativeBalancesCost(_a0 []*types.Account, _a1 time.Time) error {
	ret := _m.Called(_a0, _a1)
	var r0 error
	if rf, ok := ret.Get(0).(func([]*types.Account, time.Time) error); ok {
		r0 = rf(_a0, _a1)
	} else {
		r0 = ret.Error(0)
	}
	return r0
}
func (_m *Datastore) AddNativeBalancesNearestInTime(_a0 []*types.Account, _a1 time.Time) error {
	ret := _m.Called(_a0, _a1)
	var r0 error
	if rf, ok := ret.Get(0).(func([]*types.Account, time.Time) error); ok {
		r0 = rf(_a0, _a1)
	} else {
		r0 = ret.Error(0)
	}
	return r0
}
func (_m *Datastore) CreateOrg(_a0 *types.Org, _a1 string, _a2 []*types.Account) error {
	ret := _m.Called(_a0, _a1, _a2)
	var r0 error
	if rf, ok := ret.Get(0).(func(*types.Org, string, []*types.Account) error); ok {
		r0 = rf(_a0, _a1, _a2)
	} else {
		r0 = ret.Error(0)
	}
	return r0
}
func (_m *Datastore) DeleteAccount(id string) error {
	ret := _m.Called(id)
	var r0 error
	if rf, ok := ret.Get(0).(func(string) error); ok {
		r0 = rf(id)
	} else {
		r0 = ret.Error(0)
	}
	return r0
}
func (_m *Datastore) DeleteAndInsertTransaction(_a0 string, _a1 *types.Transaction) error {
	ret := _m.Called(_a0, _a1)
	var r0 error
	if rf, ok := ret.Get(0).(func(string, *types.Transaction) error); ok {
		r0 = rf(_a0, _a1)
	} else {
		r0 = ret.Error(0)
	}
	return r0
}