shop

package
v0.5.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AddBusiness                  = grpc.NewMethod("AddBusiness")
	GetBusiness                  = grpc.NewMethod("GetBusiness")
	UpdateBusiness               = grpc.NewMethod("UpdateBusiness")
	SetBusinessProfilePicture    = grpc.NewMethod("SetBusinessProfilePicture")
	SuspendBusiness              = grpc.NewMethod("SuspendBusiness")
	ActivateBusiness             = grpc.NewMethod("ActivateBusiness")
	DeleteBusiness               = grpc.NewMethod("DeleteBusiness")
	AddBusinessOwner             = grpc.NewMethod("AddBusinessOwner")
	RemoveBusinessOwner          = grpc.NewMethod("RemoveBusinessOwner")
	GetBusinessOwners            = grpc.NewMethod("GetBusinessOwners")
	AddBusinessClient            = grpc.NewMethod("AddBusinessClient")
	IsBusinessClient             = grpc.NewMethod("IsBusinessClient")
	AddMarketCategory            = grpc.NewMethod("AddMarketCategory")
	GetMarketCategory            = grpc.NewMethod("GetMarketCategory")
	UpdateMarketCategory         = grpc.NewMethod("UpdateMarketCategory")
	AddBusinessMarketCategory    = grpc.NewMethod("AddBusinessMarketCategory")
	GetBusinessMarketCategories  = grpc.NewMethod("GetBusinessMarketCategories")
	AddStore                     = grpc.NewMethod("AddStore")
	GetStore                     = grpc.NewMethod("GetStore")
	DeleteStore                  = grpc.NewMethod("DeleteStore")
	GetUnoccupiedStores          = grpc.NewMethod("GetUnoccupiedStores")
	AddBranch                    = grpc.NewMethod("AddBranch")
	GetBranch                    = grpc.NewMethod("GetBranch")
	GetBusinessBranches          = grpc.NewMethod("GetBusinessBranches")
	UpdateBranch                 = grpc.NewMethod("UpdateBranch")
	SuspendBranch                = grpc.NewMethod("SuspendBranch")
	ActivateBranch               = grpc.NewMethod("ActivateBranch")
	DeleteBranch                 = grpc.NewMethod("DeleteBranch")
	AddBranchRent                = grpc.NewMethod("AddBranchRent")
	GetBranchRents               = grpc.NewMethod("GetBranchRents")
	UpdateBranchRent             = grpc.NewMethod("UpdateBranchRent")
	GetUnpaidBranchRents         = grpc.NewMethod("GetUnpaidBranchRents")
	GetBusinessUnpaidBranchRents = grpc.NewMethod("GetBusinessUnpaidBranchRents")
	AddProductCategory           = grpc.NewMethod("AddProductCategory")
	GetProductCategory           = grpc.NewMethod("GetProductCategory")
	UpdateProductCategory        = grpc.NewMethod("UpdateProductCategory")
	AddProduct                   = grpc.NewMethod("AddProduct")
	GetProduct                   = grpc.NewMethod("GetProduct")
	UpdateProduct                = grpc.NewMethod("UpdateProduct")
	SearchProducts               = grpc.NewMethod("SearchProducts")
	SuspendProduct               = grpc.NewMethod("SuspendProduct")
	ActivateProduct              = grpc.NewMethod("ActivateProduct")
	AddBusinessProduct           = grpc.NewMethod("AddBusinessProduct")
	GetBusinessProduct           = grpc.NewMethod("GetBusinessProduct")
	UpdateBusinessProduct        = grpc.NewMethod("UpdateBusinessProduct")
	SearchBusinessProducts       = grpc.NewMethod("SearchBusinessProducts")
	SuspendBusinessProduct       = grpc.NewMethod("SuspendBusinessProduct")
	ActivateBusinessProduct      = grpc.NewMethod("ActivateBusinessProduct")
	AddBranchProduct             = grpc.NewMethod("AddBranchProduct")
	GetBranchProduct             = grpc.NewMethod("GetBranchProduct")
	SearchBranchProducts         = grpc.NewMethod("SearchBranchProducts")
	UpdateBranchProduct          = grpc.NewMethod("UpdateBranchProduct")
)

Business service gRPC methods

View Source
var Interceptions = map[grpc.Method]grpc.Interception{
	AddBusiness:                  grpc.AccessToken,
	GetBusiness:                  grpc.None,
	UpdateBusiness:               grpc.AccessToken,
	SetBusinessProfilePicture:    grpc.AccessToken,
	SuspendBusiness:              grpc.AccessToken,
	ActivateBusiness:             grpc.AccessToken,
	DeleteBusiness:               grpc.AccessToken,
	AddBusinessOwner:             grpc.AccessToken,
	RemoveBusinessOwner:          grpc.AccessToken,
	GetBusinessOwners:            grpc.AccessToken,
	AddBusinessClient:            grpc.AccessToken,
	IsBusinessClient:             grpc.AccessToken,
	AddMarketCategory:            grpc.AccessToken,
	GetMarketCategory:            grpc.None,
	UpdateMarketCategory:         grpc.AccessToken,
	AddBusinessMarketCategory:    grpc.AccessToken,
	GetBusinessMarketCategories:  grpc.None,
	AddStore:                     grpc.AccessToken,
	GetStore:                     grpc.None,
	DeleteStore:                  grpc.AccessToken,
	GetUnoccupiedStores:          grpc.None,
	AddBranch:                    grpc.AccessToken,
	GetBranch:                    grpc.None,
	GetBusinessBranches:          grpc.None,
	UpdateBranch:                 grpc.AccessToken,
	SuspendBranch:                grpc.AccessToken,
	ActivateBranch:               grpc.AccessToken,
	DeleteBranch:                 grpc.AccessToken,
	AddBranchRent:                grpc.AccessToken,
	GetBranchRents:               grpc.AccessToken,
	UpdateBranchRent:             grpc.AccessToken,
	GetUnpaidBranchRents:         grpc.AccessToken,
	GetBusinessUnpaidBranchRents: grpc.AccessToken,
	AddProductCategory:           grpc.AccessToken,
	GetProductCategory:           grpc.None,
	UpdateProductCategory:        grpc.AccessToken,
	AddProduct:                   grpc.AccessToken,
	GetProduct:                   grpc.None,
	UpdateProduct:                grpc.AccessToken,
	SearchProducts:               grpc.None,
	SuspendProduct:               grpc.AccessToken,
	ActivateProduct:              grpc.AccessToken,
	AddBusinessProduct:           grpc.AccessToken,
	GetBusinessProduct:           grpc.None,
	UpdateBusinessProduct:        grpc.AccessToken,
	SearchBusinessProducts:       grpc.None,
	SuspendBusinessProduct:       grpc.AccessToken,
	ActivateBusinessProduct:      grpc.AccessToken,
	AddBranchProduct:             grpc.AccessToken,
	GetBranchProduct:             grpc.None,
	SearchBranchProducts:         grpc.None,
	UpdateBranchProduct:          grpc.AccessToken,
}

Interceptions is the list of gRPC methods to intercept

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL