feat: add invoice-config-items management functionality
This commit is contained in:
@@ -21,6 +21,7 @@ type Querier interface {
|
||||
CreateComponentType(ctx context.Context, arg CreateComponentTypeParams) (ComponentType, error)
|
||||
CreateContainer(ctx context.Context, arg CreateContainerParams) (Container, error)
|
||||
CreateInvoiceConfig(ctx context.Context, arg CreateInvoiceConfigParams) (InvoiceConfig, error)
|
||||
CreateInvoiceConfigItem(ctx context.Context, arg CreateInvoiceConfigItemParams) (InvoiceConfigItem, error)
|
||||
CreateRole(ctx context.Context, arg CreateRoleParams) (Role, error)
|
||||
CreateRoom(ctx context.Context, arg CreateRoomParams) (Room, error)
|
||||
CreateShelve(ctx context.Context, arg CreateShelveParams) (Shelf, error)
|
||||
@@ -33,6 +34,7 @@ type Querier interface {
|
||||
DeleteComponentType(ctx context.Context, id int64) (int64, error)
|
||||
DeleteContainer(ctx context.Context, id int64) (int64, error)
|
||||
DeleteInvoiceConfig(ctx context.Context, id int64) (int64, error)
|
||||
DeleteInvoiceConfigItem(ctx context.Context, id int64) (int64, error)
|
||||
DeleteRole(ctx context.Context, id uuid.UUID) (int64, error)
|
||||
DeleteRoom(ctx context.Context, id int64) (int64, error)
|
||||
DeleteShelve(ctx context.Context, id int64) (int64, error)
|
||||
@@ -46,6 +48,7 @@ type Querier interface {
|
||||
GetComponentTypeByID(ctx context.Context, id int64) (ComponentType, error)
|
||||
GetContainerByID(ctx context.Context, id int64) (Container, error)
|
||||
GetInvoiceConfigByID(ctx context.Context, id int64) (InvoiceConfig, error)
|
||||
GetInvoiceConfigItemByID(ctx context.Context, id int64) (InvoiceConfigItem, error)
|
||||
GetRoleByID(ctx context.Context, id uuid.UUID) (Role, error)
|
||||
GetRoomByID(ctx context.Context, id int64) (Room, error)
|
||||
GetShelveByID(ctx context.Context, id int64) (Shelf, error)
|
||||
@@ -62,6 +65,7 @@ type Querier interface {
|
||||
ListComponentTypes(ctx context.Context) ([]ComponentType, error)
|
||||
ListComponents(ctx context.Context) ([]Component, error)
|
||||
ListContainers(ctx context.Context) ([]Container, error)
|
||||
ListInvoiceConfigItems(ctx context.Context) ([]InvoiceConfigItem, error)
|
||||
ListInvoiceConfigs(ctx context.Context) ([]InvoiceConfig, error)
|
||||
ListRoles(ctx context.Context) ([]Role, error)
|
||||
ListRooms(ctx context.Context) ([]Room, error)
|
||||
@@ -78,6 +82,7 @@ type Querier interface {
|
||||
UpdateComponentType(ctx context.Context, arg UpdateComponentTypeParams) (ComponentType, error)
|
||||
UpdateContainer(ctx context.Context, arg UpdateContainerParams) (Container, error)
|
||||
UpdateInvoiceConfig(ctx context.Context, arg UpdateInvoiceConfigParams) (InvoiceConfig, error)
|
||||
UpdateInvoiceConfigItem(ctx context.Context, arg UpdateInvoiceConfigItemParams) (InvoiceConfigItem, error)
|
||||
UpdateRole(ctx context.Context, arg UpdateRoleParams) (Role, error)
|
||||
UpdateRoom(ctx context.Context, arg UpdateRoomParams) (Room, error)
|
||||
UpdateShelve(ctx context.Context, arg UpdateShelveParams) (Shelf, error)
|
||||
|
||||
Reference in New Issue
Block a user